Any way to differentiate between a physical on/off and a virtual on/off for Lutron switches?

I see in the HA logs that it seems to differentiate between the two.

But am I able to use this differentiation in an automation?

I want to be able to disable a motion based automation if the physical switch is turned on and re-enable the automation when it’s turned off.

https://community.home-assistant.io/t/how-to-use-context/723136