Fix logging message for disarm (#2857)

This commit is contained in:
Kevin Gottsman
2016-08-16 23:53:59 -04:00
committed by Paulus Schoutsen
parent 324ddfdaeb
commit 781fe9c54e

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