Hello guys, @Blacky
I’m really struggling to use this blueprint, for basic stuffs it’s ok, but for my main rooms, I want the lights to behave like this:
- in the morning, it’s dark outside, I want my light to be at 50% to feel comfy
- in the morning when lux rises, I want the lights to follow to 100%
- in the morning, when lux is more than 200 turn off if no movement
- in the afternoon, when lux is less than 200 turn on with movement
- in the evening, do not go below 50%
I tried with 8 - Sun Elevation Lighting - Colour Temp + Lux Controlled Brightness and
9 - Sun Elevation Lighting - Colour Temp + Lux Controlled Brightness Inverted but it’s not following that logic.
I also adjust colour temp, and nightlights (with a Boolean sensor) and that’s working ok
Here is the config.
Any help would be welcome ![]()
description: ""
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- input_boolean.salon_salon_mvt_1486
include_dynamic_lighting: enable_sun_elevation_colour_lux_brightness_inv
dynamic_lighting_min_brightness: 50
dynamic_lighting_min_colour_temp: 2000
dynamic_lighting_max_colour_temp: 5000
night_lights_conditions:
- entity_state_enabled
time_delay: 4.5
dynamic_lighting_state_control_entity: input_boolean.dynamic_light_rez
motion_bypass_lights_stop:
- input_boolean.mode_rez_auto
- input_boolean.modes_rez_dimmed
dynamic_lighting_lux_sensor: sensor.cuisine_cuisine_luminosite_2236
include_bypass:
- bypass_enabled_stop
light_transition_off: 10
include_light_control:
- use_transition
- use_brightness
light_transition_on: 1.5
dynamic_lighting_state_control: enable_state_control
include_night_lights: night_lights_enabled
night_lights_entity_state:
- input_boolean.nightlight
night_lights_after_time: "21:00:00"
night_lights_before_time: "05:00:00"
night_lights:
entity_id: light.salon_salon_1948
include_night_light_control:
- use_brightness
- use_transition
include_night_light_colour_control: use_rgb_colour
night_light_colour_temperature: 2000
night_light_brightness: 5
night_light_rgb_colour:
- 255
- 143
- 31
light_switch:
entity_id: light.salon_salon_1948
light_brightness: 90
dynamic_lighting_max_lux: 200
dynamic_lighting_min_lux: 1
