Sensor left open web request help


#21

I’m not sure what you mean regarding additonal logic.
Do you mean remove ‘on’ from line 49?


#22

Yes


#23

How do you reset the current duration count? The announcement won’t play because the ‘define’ integer current duration count is higher than the ‘if (current duration) is less than 10’


#24

Add another IF at the bottom.

If contact changes to closed
Set variable = 0


#25

under ‘else if’ or ‘end if’?


#26

Right under End If


#27

Thank you AGAIN!!!