I have this automation to notify me if Zigbee goes down:
alias: Notify if zigbee is diconnected
description: ""
triggers:
- trigger: state
entity_id:
- binary_sensor.zigbee2mqtt_bridge_connection_state
to:
- unavailable
for:
hours: 0
minutes: 2
seconds: 0
conditions: []
actions:
xxx
mode: single
But it does not seem to trigger if the bridge becomes unavailable. I think it is because the entire entity becomes unavailable somehow?
How can I make it trigger when the entity becomes unavailable?
