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.