summaryrefslogtreecommitdiffstats
path: root/custom/scripts/sleep-and-wake.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'custom/scripts/sleep-and-wake.yaml')
-rw-r--r--custom/scripts/sleep-and-wake.yaml7
1 files changed, 6 insertions, 1 deletions
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"