Is it possible to define multiple Adaptive Lighting instances in YAML? #444
-
I tried to define two separate AL instances in my adaptive_lighting:
name: "Office Adaptive Lights"
min_color_temp: 2500
max_color_temp: 3800
max_sunrise_time: "07:00:00"
min_sunset_time: "20:00:00"
detect_non_ha_changes: true
lights:
- light.office_lights
adaptive_lighting:
name: "Main Adaptive Lights"
min_color_temp: 2500
max_color_temp: 3800
max_sunrise_time: "07:00:00"
min_sunset_time: "20:00:00"
detect_non_ha_changes: true
lights:
- light.main_lights |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You definitely can and I highly recommend you do so!
|
Beta Was this translation helpful? Give feedback.
-
Would it be possible to have multiple instances for one light/light group and setup an automation to switch between them? Two reasons:
and
So I'm wondering whether I could set up one Adaptive Lighting instance for the morning with the desired curve using color_temp, another for daytime using color_rgb and finally a different one for the evening with a different curve which would again use color_temp. A somewhat slapdash approach but I haven't come across anything better and I guess the other option is to build something from scratch. |
Beta Was this translation helpful? Give feedback.
You definitely can and I highly recommend you do so!
Your syntax is incorrect, here's my yaml file.