diff --git a/configuration/automations/rack.yaml b/configuration/automations/rack.yaml index 8ec184f..632c5e6 100644 --- a/configuration/automations/rack.yaml +++ b/configuration/automations/rack.yaml @@ -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