Update commands to match the strings in pynx584 (#4623)

The command string don't match the ones pynx584. See source code:

https://github.com/kk7ds/pynx584/blob/master/nx584/api.py#L68
pull/4669/head
Alberto Arias Maestro 2016-12-01 22:20:44 -08:00 committed by Paulus Schoutsen
parent 1f5f4e7a89
commit b0a800cc6d
1 changed files with 2 additions and 2 deletions

View File

@ -117,11 +117,11 @@ class NX584Alarm(alarm.AlarmControlPanel):
def alarm_arm_home(self, code=None):
"""Send arm home command."""
self._alarm.arm('home')
self._alarm.arm('stay')
def alarm_arm_away(self, code=None):
"""Send arm away command."""
self._alarm.arm('auto')
self._alarm.arm('exit')
def alarm_trigger(self, code=None):
"""Alarm trigger command."""