From 8881f056422c461e9423ca54f44aee502f6cd735 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 30 Aug 2023 21:32:03 +0200 Subject: [PATCH] Automation to turn back on automations to go to sleep --- configuration/automations/behaviour-goto-sleep.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configuration/automations/behaviour-goto-sleep.yaml b/configuration/automations/behaviour-goto-sleep.yaml index bc0448e..aac12e6 100644 --- a/configuration/automations/behaviour-goto-sleep.yaml +++ b/configuration/automations/behaviour-goto-sleep.yaml @@ -155,3 +155,15 @@ - service: switch.turn_off target: entity_id: switch.computer_outlet + +- id: behaviour_goto_sleep_back_on + alias: '[Behaviour] Go to sleep - turn automations back on' + trigger: + - platform: time + at: '05:00:00' + action: + - service: automation.turn_on + target: + entity_id: + - automation.behaviour_go_to_sleep + - automation.behaviour_go_to_sleep_hard_cutoff