add manual alarm

This commit is contained in:
sfam 2015-09-28 23:36:46 +00:00
parent 755234369d
commit e57b3ae847
5 changed files with 172 additions and 4 deletions

View file

@ -166,3 +166,7 @@ class MqttAlarm(alarm.AlarmControlPanel):
self._payload_arm_away, self._qos)
else:
_LOGGER.warning("Wrong code entered while arming away!")
def alarm_trigger(self, code=None):
""" Send alarm trigger command. No code needed. """
return