Hello, I have the following simple program to change a variable with a timeout. The initial value is set to 0. The IF statement works and the variable changes to 1 as expected when sensor is ON. However, it never changed back to 0 again. Hope someone can point me to the right direction for troubleshooting. Thanks in advance.
If
'Lower Level / Family Room / Family Room Motion Sensor / ZW 018 Motion Sensor 1' Status is On
Then
$FR_Motion = 1
Wait 10 minutes
$FR_Motion = 0
Else
- No Actions - (To add one, press 'Action')