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#L68pull/4669/head
parent
1f5f4e7a89
commit
b0a800cc6d
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue