Hi, to controll my Aigostar Smart Light Switch i created a flow with node red.
to update the switch i used a timer, there is a better way?
Yes, probably. Though it isn’t clear from just looking at a picture of a flow what your setup is, or what the switches are doing, etc.
Export the flow from the menu, then run it through this scrubber and paste it into a text hosting service (like paste.debian.net) so folks can actually see what you’re doing/trying to do.
Hi,
https://paste.debian.net/1300613
Json to update switch status if is turn on/off over HA.
https://paste.debian.net/1300614
Json to update switch status if is turn on/off manually