Trigger on State Change Not Caused by Automation

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.

What does the Logbook indicate when this happens?

The bottom one is from the smart switch, the top one is from an automation. Thank you for the reply!