From c2f33eb3c0582637e278918325d10c467de29e70 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Fri, 22 Feb 2019 13:56:00 +0100 Subject: [PATCH] added automation.alert_zigbee_bridge_offline --- automation.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/automation.yaml b/automation.yaml index 48b1ffe0..692bc00d 100644 --- a/automation.yaml +++ b/automation.yaml @@ -90,6 +90,19 @@ - service: input_boolean.turn_off data: entity_id: input_boolean.zigbee_permit_join + +- id: alert_zigbee_bridge_offline + alias: 'Alarm wenn Zigbee2Mqtt offline' + initial_state: 'on' + trigger: + - entity_id: sensor.zigbee2mqtt_bridge_state + platform: state + to: 'offline' + action: + - service: notify.kevin + data: + title: 'Zigbee2Mqtt offline' + message: "Zigbee2Mqtt ist offline" ################################################################# ## New Home Assistant Version #################################################################