summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2024-06-06 06:00:05 +0400
committerSuren A. Chilingaryan <csa@suren.me>2024-06-06 06:00:05 +0400
commitc43c1251c98eb91b811cc631e5bd58dd1fe541f6 (patch)
tree78d658ea3579ce5e45ff7fdfaefddb4810785209 /custom
parent90149446fbbd45339013cbb7dfe8d823dd38f633 (diff)
downloadhass-c43c1251c98eb91b811cc631e5bd58dd1fe541f6.tar.gz
hass-c43c1251c98eb91b811cc631e5bd58dd1fe541f6.tar.bz2
hass-c43c1251c98eb91b811cc631e5bd58dd1fe541f6.tar.xz
hass-c43c1251c98eb91b811cc631e5bd58dd1fe541f6.zip
office power management optimization and some fixes
Diffstat (limited to 'custom')
-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"