I am using room lighting. I have a illuminance sensor and I have the lights not turn on above a certain lux and turn off a higher lux setting. The sensor is currently reading way higher than both as the sun is out and shining bright.
However, the lights keep turning on with motion and then back off when it realizes it is too bright.
The transition to turn them off is occurring and is turning the lights on first to turn them off. I will turn off the transition to turn off in the meantime.