I donāt think thatās related as I have other singular lamps with the same problem, as seen here:
Triggered by the state of binary_sensor.vikt_motion_occupancy at May 20, 2024 at 9:23:44 AM
Test Test if any of 22 conditions matches
Test Test if any of 9 conditions matches
Test Test if any of 5 conditions matches
Test Test if any of 12 conditions matches
Test Test if any of 3 conditions matches
Test Test if any of 4 conditions matches
Choose: Default action executed
(light.vikt_light) turned on
4 minutes later
(light.vikt_light) turned off
(light.vikt_light) turned on
Finished at May 20, 2024 at 1:28:27 PM (runtime: 14683.20 seconds)
This room has 4 min timeout and lux based dynamic lighting.
Automation kept going until I went into the room again which explains the 4 hours to finish the task.