Physical Switch behaves different from Item, conceptual problem

Copy-paste the relevant lines from your events.log
Tell us what you did for that sample, e.g. poked UI or physical device.
A sample of both would be good.
Enclosing in code fences would be helpful