mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Guest bedroom light color
This commit is contained in:
@@ -32,11 +32,13 @@ automation:
|
|||||||
entity_id: light.light_lohas_6
|
entity_id: light.light_lohas_6
|
||||||
data:
|
data:
|
||||||
brightness_pct: 10
|
brightness_pct: 10
|
||||||
|
color_temp: 154
|
||||||
default:
|
default:
|
||||||
- service: light.toggle
|
- service: light.toggle
|
||||||
entity_id: light.light_lohas_6
|
entity_id: light.light_lohas_6
|
||||||
data:
|
data:
|
||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
|
color_temp: 154
|
||||||
|
|
||||||
double_click:
|
double_click:
|
||||||
- service: light.toggle
|
- service: light.toggle
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ script:
|
|||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.light_lohas_6
|
entity_id: light.light_lohas_6
|
||||||
data:
|
data:
|
||||||
color_temp: "{{ 400 if is_state('sun.sun', 'above_horizon') else 500 }}"
|
color_temp: 154
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.guest_bedroom_before_confirm
|
entity_id: scene.guest_bedroom_before_confirm
|
||||||
- delay: 00:00:01
|
- delay: 00:00:01
|
||||||
|
|||||||
Reference in New Issue
Block a user