add manual alarm
This commit is contained in:
parent
755234369d
commit
e57b3ae847
5 changed files with 172 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue