User guide

88
Increase a counter called “LightCounter” whenever a particular light is switched
on:
If
Control 'Basement Light' is switched On
Then
$LightCounter += 1
Else
- No Actions - (To add one, press 'Action')
Send a notification email whenever the variable “LightCounter” reaches a value
of 5, then reset it back to 0:
If
$LightCounter is 5
Then
Send Notification to 'My Email'
$LightCounter = 0
Else
- No Actions - (To add one, press 'Action')