Hi Guys, I’m not how this is happening.
Here’s my code:
Basicly, it turns on switch (sonoff) in my doghouse when I open the patio door.
it’s supposed to auto turn off after X amount of time. (this works fine)
However, I found that if I open the door again, within that time frame, the lights turn off.
It’s like my code acks like a toggle when it’s not.
Here’s the history: