Hello! I would like to create an automation that triggers on a state change that is not caused by an automation. E.g. say light.kitchen could be turned on by any number of automations, or by someone using the smart switch. I want to be able to detect when the light is turned on by smart switch.
Given that the logbook has such attribution now (woot!) I suspect that the information is there, but I am not sure how to access it.
I want to create a feature quite like adaptive lighting’s take back control, but for whether or not a light should be automatically turned on and off.