Hi, I did some research and i think i can trigger automation if the physical switch is turned on. in fact if in home assistant I turn on the switch I want it to do something and if i turn on the physical switch on the wall i want to do something else.
I think i can dot it with events ? but i’m a little bit lost
thanks. ( I don’t know if it’s a important information but it’s a tuya switch )