mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix logging message for disarm (#2857)
This commit is contained in:
parent
324ddfdaeb
commit
781fe9c54e
@ -80,7 +80,7 @@ class AlarmDotCom(alarm.AlarmControlPanel):
|
|||||||
|
|
||||||
def alarm_disarm(self, code=None):
|
def alarm_disarm(self, code=None):
|
||||||
"""Send disarm command."""
|
"""Send disarm command."""
|
||||||
if not self._validate_code(code, 'arming home'):
|
if not self._validate_code(code, 'disarming home'):
|
||||||
return
|
return
|
||||||
from pyalarmdotcom.pyalarmdotcom import Alarmdotcom
|
from pyalarmdotcom.pyalarmdotcom import Alarmdotcom
|
||||||
# Open another session to alarm.com to fire off the command
|
# Open another session to alarm.com to fire off the command
|
||||||
|
Loading…
x
Reference in New Issue
Block a user