diff options
Diffstat (limited to 'custom/scripts')
| -rw-r--r-- | custom/scripts/sleep-and-wake.yaml | 8 | ||||
| -rw-r--r-- | custom/scripts/turn-on-office-lights.yaml | 11 |
2 files changed, 13 insertions, 6 deletions
diff --git a/custom/scripts/sleep-and-wake.yaml b/custom/scripts/sleep-and-wake.yaml index a430515..a5782c1 100644 --- a/custom/scripts/sleep-and-wake.yaml +++ b/custom/scripts/sleep-and-wake.yaml @@ -41,7 +41,7 @@ sleep_and_wake: entity_id: scene.lg_aircon_power_off - service: switch.turn_off target: - entity_id: switch.smart_power_strip_pro_socket_2 + entity_id: switch.office_power_strip_socket_2 - service: switch.turn_off target: entity_id: switch.living_lights_right @@ -66,7 +66,7 @@ sleep_and_wake: entity_id: scene.lg_aircon_power_off - service: switch.turn_off target: - entity_id: switch.smart_power_strip_pro_socket_2 + entity_id: switch.office_power_strip_socket_2 - service: switch.turn_off target: entity_id: switch.living_lights_right @@ -86,7 +86,7 @@ sleep_and_wake: target: entity_id: - switch.plugs_office - - switch.smart_power_strip_pro_socket_2 + - switch.office_power_strip_socket_2 - service: wake_on_lan.send_magic_packet data: mac: "e8:6a:64:7b:5d:0a" @@ -128,7 +128,7 @@ sleep_and_wake: entity_id: media_player.smartpi - service: switch.turn_off target: - entity_id: switch.smart_power_strip_pro_socket_2 + entity_id: switch.office_power_strip_socket_2 - service: switch.turn_off target: entity_id: switch.lights_all diff --git a/custom/scripts/turn-on-office-lights.yaml b/custom/scripts/turn-on-office-lights.yaml index f9615a0..9520db0 100644 --- a/custom/scripts/turn-on-office-lights.yaml +++ b/custom/scripts/turn-on-office-lights.yaml @@ -23,8 +23,15 @@ turn_on_office_lights: brightness_pct: 100 kelvin: "{{ temp }}" target: - entity_id: light.yeelight_color_0x7caaf86 + entity_id: + - light.office_bulb_office_bulb + - light.office_led_office_led - service: homeassistant.turn_off data: {} target: - entity_id: switch.lights_living_lustre + entity_id: + - switch.lights_living_lustre + - light.office_chair_led_office_chair_led + - switch.living_tablelampsocket + + |
