From c43c1251c98eb91b811cc631e5bd58dd1fe541f6 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 6 Jun 2024 06:00:05 +0400 Subject: office power management optimization and some fixes --- custom/scripts/sleep-and-wake.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'custom/scripts/sleep-and-wake.yaml') diff --git a/custom/scripts/sleep-and-wake.yaml b/custom/scripts/sleep-and-wake.yaml index 0fe478d..a430515 100644 --- a/custom/scripts/sleep-and-wake.yaml +++ b/custom/scripts/sleep-and-wake.yaml @@ -61,6 +61,9 @@ sleep_and_wake: # - service: switch.turn_off # target: # entity_id: switch.plugs_office + - service: scene.turn_on + target: + entity_id: scene.lg_aircon_power_off - service: switch.turn_off target: entity_id: switch.smart_power_strip_pro_socket_2 @@ -81,7 +84,9 @@ sleep_and_wake: - parallel: - service: switch.turn_on target: - entity_id: switch.plugs_office + entity_id: + - switch.plugs_office + - switch.smart_power_strip_pro_socket_2 - service: wake_on_lan.send_magic_packet data: mac: "e8:6a:64:7b:5d:0a" -- cgit v1.2.3