Skip to content

Commit

Permalink
added automation.alert_zigbee_bridge_offline
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Feb 22, 2019
1 parent 0717cd3 commit c2f33eb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#################################################################
Expand Down

0 comments on commit c2f33eb

Please sign in to comment.