So I was trying to get the system to not turn on the lights when not needed by changing from using the built in occupancy to using home assistant to control the light based on occupancy and light level.
While the light I found to now be .5-1 second slower (not unexpected) the issue I now was getting is that if I were to walk into the room immediately after the light turned off, the light sensor will still be reporting the illuminance from when the light was on, resulting in home assistant not turning the light on. A possibility I could do is have illuminance changes be monitored as well in node-red and if it goes to dark while occupancy is detected to turn it back on (though I do have a worry that if i manually toggle the light then it’ll just turn back on). would it be possible to code in the firmware to push an illumance sensor update immediately after a light level change?