Sometimes some of my automations don't trigger, so when I look at the trace to find out why, I'll see something like unknown entity. Does anyone know what's happening and how to fix it?
My guess is that at some point you had a lux sensor (illuminance) as a condition and that entity has either had its name changed or has been deleted.
Check out the automation (either in the builder or in the yaml) to see if you have this condition. Then see if that entity still exists or if it’s name has changed.
Once I had devices that replaced entities with new ones with a different ID after a firmware update. It happened to some ESPHome devices I had after upgrading the firmware. Have you checked the device the entity belongs to?
So I've been going through whatever the search engines would throw at me and it seems some people have become so accustomed that they have automations to send alerts. I'm gonna try and track down more info so I can file a decent bug. Hopefully they squash it for once and for all.