From 93896470653137aa92b10547840ef7d960051c68 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sun, 21 Nov 2021 10:05:18 +0200 Subject: [PATCH] Guest bedroom light color --- config/packages/devices/guest_bedroom/guest_bedroom_switch.yaml | 2 ++ config/packages/modules/lighting/areas/guest_bedroom.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/packages/devices/guest_bedroom/guest_bedroom_switch.yaml b/config/packages/devices/guest_bedroom/guest_bedroom_switch.yaml index 1201c51..a215967 100644 --- a/config/packages/devices/guest_bedroom/guest_bedroom_switch.yaml +++ b/config/packages/devices/guest_bedroom/guest_bedroom_switch.yaml @@ -32,11 +32,13 @@ automation: entity_id: light.light_lohas_6 data: brightness_pct: 10 + color_temp: 154 default: - service: light.toggle entity_id: light.light_lohas_6 data: brightness_pct: 100 + color_temp: 154 double_click: - service: light.toggle diff --git a/config/packages/modules/lighting/areas/guest_bedroom.yaml b/config/packages/modules/lighting/areas/guest_bedroom.yaml index 984b15c..6e80ec1 100644 --- a/config/packages/modules/lighting/areas/guest_bedroom.yaml +++ b/config/packages/modules/lighting/areas/guest_bedroom.yaml @@ -14,7 +14,7 @@ script: - service: light.turn_on entity_id: light.light_lohas_6 data: - color_temp: "{{ 400 if is_state('sun.sun', 'above_horizon') else 500 }}" + color_temp: 154 - service: scene.turn_on entity_id: scene.guest_bedroom_before_confirm - delay: 00:00:01