din[#].state == 1
rout[#].state == 1
temp[#].f >= 75
or temp[#].fahrenheit >= 75
temp[#].c >= 20
or temp[#].celsius >= 20
env[#].f >= 75
or env[#].fahrenheit >= 75
env[#].c >= 20
or env[#].celsius >= 20
env[#].humidity >= 80
date.isDay(montuewedthufri)
date.isDay(satsun)
time.before(HH:MM)
time.after(HH:MM)
An If-Block Action creates a condition using a variable, that activates other actions when the condition is meet. In the example above, the variable from the loop changes from 1 to 3. The If Block uses that variable to make it so when it becomes 2, it will close output 1.