From 539a4683db47aa929304d5b1e32714feadc20d13 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 20 Apr 2022 00:15:03 +0200 Subject: [PATCH] Remove desk lightbar --- .../automations/computer-button.yaml | 41 +------------------ .../automations/computer-lights.yaml | 3 +- scripts/10.modes.yaml | 4 -- 3 files changed, 2 insertions(+), 46 deletions(-) diff --git a/configuration/automations/computer-button.yaml b/configuration/automations/computer-button.yaml index 17ac263..11b2cb6 100644 --- a/configuration/automations/computer-button.yaml +++ b/configuration/automations/computer-button.yaml @@ -51,44 +51,5 @@ platform: device type: remote_button_short_press subtype: turn_off - action: - - service: light.turn_off - data: - entity_id: light.desk_lightbar - - choose: - - conditions: - - condition: state - entity_id: light.desk_lightbar - state: 'on' - sequence: - - service: light.turn_off - entity_id: light.desk_lightbar - - service: light.turn_off - entity_id: light.desk_lightbar_ambilight - - conditions: - - condition: state - entity_id: light.desk_lightbar - state: 'off' - sequence: - - choose: - - conditions: - - condition: state - entity_id: input_boolean.sleep_mode - state: 'on' - sequence: - - service: light.turn_on - entity_id: light.desk_lightbar - data: - brightness_pct: 100 - kelvin: 2000 - - conditions: - - condition: state - entity_id: input_boolean.sleep_mode - state: 'off' - sequence: - - service: light.turn_on - entity_id: light.desk_lightbar - data: - brightness_pct: 100 - kelvin: 3200 + action: [] mode: single diff --git a/configuration/automations/computer-lights.yaml b/configuration/automations/computer-lights.yaml index 0905dde..3bde0bb 100644 --- a/configuration/automations/computer-lights.yaml +++ b/configuration/automations/computer-lights.yaml @@ -10,6 +10,5 @@ action: - service: light.turn_off entity_id: - - light.desk_lightbar - - light.desk_lightbar_ambilight + - light.office mode: single \ No newline at end of file diff --git a/scripts/10.modes.yaml b/scripts/10.modes.yaml index ee43f0a..4fbe703 100644 --- a/scripts/10.modes.yaml +++ b/scripts/10.modes.yaml @@ -9,8 +9,6 @@ good_night: entity_id: input_select.home_mode - service: light.turn_off entity_id: - - light.desk_lightbar - - light.desk_lightbar_ambilight - light.couch_lights - light.tv_lights - light.office @@ -88,8 +86,6 @@ leave_home: entity_id: input_select.home_mode - service: light.turn_off entity_id: - - light.desk_lightbar - - light.desk_lightbar_ambilight - light.couch_lights - light.tv_lights - light.office