From 53a87bf4442b99a7746ee9439ab01be95aa679f3 Mon Sep 17 00:00:00 2001 From: pgrondek Date: Fri, 7 May 2021 01:04:02 +0200 Subject: [PATCH] Change desktop light --- automations/files/automations/computer-button.yaml | 4 ++-- automations/files/automations/computer-lights.yaml | 5 ++--- automations/files/scripts/modes.yaml | 7 ++++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/automations/files/automations/computer-button.yaml b/automations/files/automations/computer-button.yaml index 41cb539..393e155 100644 --- a/automations/files/automations/computer-button.yaml +++ b/automations/files/automations/computer-button.yaml @@ -9,7 +9,7 @@ action: - service: light.turn_on data: - entity_id: light.desk_lamp + entity_id: light.desk_lightbar mode: single - id: button-computer-cave-off alias: '[Computer Cave] Button Off' @@ -22,7 +22,7 @@ action: - service: light.turn_off data: - entity_id: light.desk_lamp + entity_id: light.desk_lightbar mode: single - id: button-computer-cave-hold-on alias: '[Computer Cave] Button Hold On' diff --git a/automations/files/automations/computer-lights.yaml b/automations/files/automations/computer-lights.yaml index 278e36d..59d8069 100644 --- a/automations/files/automations/computer-lights.yaml +++ b/automations/files/automations/computer-lights.yaml @@ -7,11 +7,10 @@ to: 'off' for: minutes: 5 - condition: [] action: - service: light.turn_off - data: {} entity_id: - light.computer_lights - - light.desk_lamp + - light.desk_lightbar + - light.desk_lightbar_ambilight mode: single \ No newline at end of file diff --git a/automations/files/scripts/modes.yaml b/automations/files/scripts/modes.yaml index e7a6959..88d7536 100644 --- a/automations/files/scripts/modes.yaml +++ b/automations/files/scripts/modes.yaml @@ -8,9 +8,9 @@ good_night: option: Night entity_id: input_select.home_mode - service: light.turn_off - data: { } entity_id: - - light.desk_lamp + - light.desk_lightbar + - light.desk_lightbar_ambilight - light.computer_lights - light.tv_lights - light.couch_lamp @@ -62,7 +62,8 @@ leave_home: - service: light.turn_off data: { } entity_id: - - light.desk_lamp + - light.desk_lightbar + - light.desk_lightbar_ambilight - light.computer_lights - light.tv_lights - light.couch_lamp