1) Give a description of the problem
Here is the scenario i have 2 wall switches one is wired to a light the other is not, if the light switch is on/off the LED on the switch changes colour, i want to set these up as 2 way switching when one turns on the other turns on and vice versa, i have tried this with simple if statements but unsurprisingly this ends in a loop where they kept turning each other on/off, i assume i need to create some sort of timer in there to exit the self created loop i thought someone must have done this before…
2) What is the expected behaviour?
act like standard 2 way switching
3) What is happening/not happening?
stuck in a loop