Thank you for your detailed post and thorough testing… it was incredibly helpful in identifying the issue quickly. I truly appreciate your effort!
The problem stemmed from a bug in the condition logic that caused an unintended loop.
This has now been fixed, and the updated blueprint should resolve the issue. Please update the blueprint, test it, and let us know if the problem is resolved.
Once again, thank you for reporting this bug and helping improve the blueprint!
I have also updated your YAML but I am not sure if this is what you are after as some of your setting may be from testing.
- Because in dynamic lighting your brightness is from 100% to 99% and you are using option 13 I changed it to option 10 and your 100 % brightness will be handled in light control.
- Removed your toggle helper as it is not needed.
- In dynamic lighting changed the Dynamic Lighting - Time Evening - End Point to be 11pm so you will finally reach your Dynamic Lighting - Min Colour Temperature.
- In Night Light Control I selected If lights are ON, adjust the lights when crossing over. This way they will change when the time crosses over from normal light to night lights and vice versa.
Click to expand
alias: A Sensor Light - Forum
description: ""
use_blueprint:
path: craig/new-option-sensor-light.yaml
input:
motion_trigger:
- binary_sensor.flur_bewegungsmelder_bewegung
light_switch:
entity_id:
- light.flur_licht_leuchte
time_delay: 1
include_light_control:
- use_transition
- use_colour_temperature
- use_brightness
light_transition_off: 5
light_transition_on: 0.5
light_colour_temperature: 3400
include_night_lights: night_lights_enabled
night_lights:
entity_id:
- light.flur_licht_leuchte
night_time_delay: 0
include_night_light_control:
- use_brightness
- use_colour_temperature
- use_transition
- if_lights_are_on_adjust_when_crossing_over
night_light_colour_temperature: 1900
night_light_brightness: 1
night_light_transition_off: 10
night_lights_conditions:
- time_enabled
night_lights_before_time: "05:30:00"
include_light_colour_control: use_colour_temperature
include_night_light_colour_control: use_colour_temperature
include_dynamic_lighting: enable_time_controled_colour
dynamic_lighting_max_colour_temp: 3400
dynamic_lighting_min_colour_temp: 2500
dynamic_lighting_time_start_morning: "05:30:00"
dynamic_lighting_time_end_morning: "06:30:00"
dynamic_lighting_time_end_evening: "23:00:00"
dynamic_lighting_heartbeat: 5
dynamic_lighting_time_start_evening: "19:00:00"
night_lights_after_time: "23:00:00"
dynamic_lighting_min_brightness: 99
Blacky