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