Files
hassio-configuration/configuration/automation/global_tasmotas_fix_unavailable.yaml
2025-02-07 12:46:24 -05:00

61 lines
1.6 KiB
YAML

---
- id: global_tasmotas_fix_unavailable_fan_01
alias: '[Global] Reboot Master Bathroom Fan if unavailable'
trigger:
- entity_id: fan.bathroom_master
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_fan01
- id: global_tasmotas_fix_unavailable_fan_02
alias: '[Global] Reboot Bedroom Bathroom Fan if unavailable'
trigger:
- entity_id: fan.bathroom_bedroom
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_fan02
- id: global_tasmotas_fix_unavailable_fan_03
alias: '[Global] Reboot Maxim Bedroom Fan if unavailable'
trigger:
- entity_id: fan.bedroom_maxim
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_fan03
- id: global_tasmotas_fix_unavailable_fan_04
alias: '[Global] Reboot Olivia Bedroom Fan if unavailable'
trigger:
- entity_id: fan.bedroom_olivia
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_fan04
- id: global_tasmotas_fix_unavailable_fan_05
alias: '[Global] Reboot Living Room Bathroom Fan if unavailable'
trigger:
- entity_id: fan.bathroom_living_room
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_fan05
- id: global_tasmotas_fix_unavailable_light_01
alias: '[Global] Reboot Master Bathroom Fan if unavailable'
trigger:
- entity_id: light.kitchen_decorating_01
for: 00:00:10
platform: state
to: 'unavailable'
action:
- service: shell_command.restart_light01