I was wondering what is the correct way to control one light from several switches?
My switches are wifi connected, I created 2 automation, one says if SW1 is ON OR SW2 is ON, LIGHT X will power ON, and the second automation does the contrary.
This works 9/10. The problem is that sometimes due to lantency of the network one switch can lag behind and when his state changes due to the automation, the whole thing goes into an infinite loop. Am I doing a hacky solution? is there a better way to do this? THANKS!