1
0

Add automation to recover rack outlet turning itself off

This commit is contained in:
Przemek Grondek 2023-08-29 23:56:28 +02:00
parent 64d65c9158
commit bbad2284b3

View File

@ -11,3 +11,20 @@
data: {}
target:
entity_id: switch.printer_switch
- id: rack_recover_turning_off
alias: "[Rack] Recover turning off"
mode: single
trigger:
- platform: state
entity_id:
- switch.rack_outlet_switch
to: "off"
for:
hours: 0
minutes: 0
seconds: 30
action:
- service: switch.turn_on
target:
entity_id: switch.rack_outlet_switch