My bedroom light is being turned on at night, which obviously wakes me up!
The action is obvious in HA history, but not who instigated the switch.
Its a sonoff light reflashed with ESPhome and i need to set the logging for this one entity to debug to try and track the source of this action.
There are no autiomations tied to this light, although it is also part of a group. But the whole group does not get triggered
What is the setting in configuration.yaml to enable this?
Do i increase logging on the light component, or esphome or can i just debug one entity.
I have searched for this solution, but its not obvious in the results ive found.