mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
add manual alarm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user