[RM5] .151
I'm trying to create the following rule, however I could not find the "local Variable" option when entering the
"If Illum < 20 AND enable = true THEN" line. I saw Private Boolean but nothing that I could identify as local variable.
Rule seems pretty simple, am I missing something?
Local Variable bool enable = true
Triggers:
Illuminance of Mijjia Lux < 20
OR
Time is 11:00 AM
Conditions / Actions:
If Illum < 20 AND enable = true THEN
enable = false
On: Front Entrance
Delay 2:00:00
Delay 0:15:00 Random
end-if
(simple conditional)
If(time = 11 AM) then enable = true