Hello, my yale bridge disconnect sometime and don't reconnect until a manual reboot (plu off plug on)
To fix my issue I ve added a smart socket behind the Yale bridge to perform the plug off plug on task.
But for some reason this automation doesn't trigger, if I trigger it manually it perform the task successfully
Any idea why is wrong with the trigger ?
Thanks or your help
description: The bridge turn off after few days and an hard reboot is necessary
trigger:
- platform: state
entity_id:
- lock.porte_dentree
to: unavailable
for:
hours: 0
minutes: 20
seconds: 0
action:
- type: turn_off
device_id: a27def5723af9e987c3aa196fcf284e4
entity_id: 9794735edc919180390c8b9ff1b5a5d5
domain: switch
- delay:
seconds: 15
- type: turn_on
device_id: a27def5723af9e987c3aa196fcf284e4
entity_id: 9794735edc919180390c8b9ff1b5a5d5
domain: switch```