From b3cbe805087655bd65071f2ca9335d6fa5ea3687 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 22 Sep 2021 23:14:58 +0200 Subject: [PATCH] Fix bathroom lights --- configuration/automations/bathroom-button.yaml | 10 ++++++++-- configuration/automations/bathroom-lights.yaml | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/configuration/automations/bathroom-button.yaml b/configuration/automations/bathroom-button.yaml index 3d9d0a8..9400faf 100644 --- a/configuration/automations/bathroom-button.yaml +++ b/configuration/automations/bathroom-button.yaml @@ -43,7 +43,10 @@ - service: light.turn_on entity_id: light.bathroom_lights data: - brightness_pct: 100 + brightness: 255 + - service: light.turn_on + entity_id: light.bathroom_lights + data: kelvin: 2000 - conditions: - condition: state @@ -53,8 +56,11 @@ - service: light.turn_on entity_id: light.bathroom_lights data: - brightness_pct: 100 kelvin: 3200 + - service: light.turn_on + entity_id: light.bathroom_lights + data: + brightness: 255 - conditions: - condition: state entity_id: input_select.home_mode diff --git a/configuration/automations/bathroom-lights.yaml b/configuration/automations/bathroom-lights.yaml index 7b04cff..30738b8 100644 --- a/configuration/automations/bathroom-lights.yaml +++ b/configuration/automations/bathroom-lights.yaml @@ -23,7 +23,10 @@ - service: light.turn_on entity_id: light.bathroom_lights data: - brightness_pct: 100 + brightness: 255 + - service: light.turn_on + entity_id: light.bathroom_lights + data: kelvin: 2000 - conditions: - condition: state @@ -33,7 +36,10 @@ - service: light.turn_on entity_id: light.bathroom_lights data: - brightness_pct: 100 + brightness: 255 + - service: light.turn_on + entity_id: light.bathroom_lights + data: kelvin: 3200 - conditions: - condition: state