Fix logging message for disarm (#2857)

pull/2851/merge
Kevin Gottsman 2016-08-16 23:53:59 -04:00 committed by Paulus Schoutsen
parent 324ddfdaeb
commit 781fe9c54e
1 changed files with 1 additions and 1 deletions

View File

@ -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