From 2674a5226e13a68b1ee570aef552e78b7a7337b8 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 23 Jun 2023 04:44:16 +0400 Subject: Massive update: Few fixes, more new integrations & extensions --- custom/scripts/sleep-and-wake.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (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 c8e180d..0fe478d 100644 --- a/custom/scripts/sleep-and-wake.yaml +++ b/custom/scripts/sleep-and-wake.yaml @@ -36,9 +36,12 @@ sleep_and_wake: value_template: '{{ mode == "sleep" }}' sequence: - parallel: + - 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_1 + entity_id: switch.smart_power_strip_pro_socket_2 - service: switch.turn_off target: entity_id: switch.living_lights_right @@ -60,7 +63,7 @@ sleep_and_wake: # entity_id: switch.plugs_office - service: switch.turn_off target: - entity_id: switch.smart_power_strip_pro_socket_1 + entity_id: switch.smart_power_strip_pro_socket_2 - service: switch.turn_off target: entity_id: switch.living_lights_right @@ -104,6 +107,13 @@ sleep_and_wake: value_template: '{{ mode == "sleep" }}' sequence: - parallel: + - service: script.bedroom_aircon_off +# - service: scene.turn_on +# target: +# entity_id: scene.hyundai_aircon2_off + - service: scene.turn_on + target: + entity_id: scene.lg_aircon_power_off # Wait until we fix both sleep and WOL on laptop # - service: switch.turn_off # target: @@ -113,7 +123,7 @@ sleep_and_wake: entity_id: media_player.smartpi - service: switch.turn_off target: - entity_id: switch.smart_power_strip_pro_socket_1 + entity_id: switch.smart_power_strip_pro_socket_2 - service: switch.turn_off target: entity_id: switch.lights_all -- cgit v1.2.3