din[#].state == 1rout[#].state == 1temp[#].f >= 75 or temp[#].fahrenheit >= 75temp[#].c >= 20 or temp[#].celsius >= 20env[#].f >= 75 or env[#].fahrenheit >= 75env[#].c >= 20 or env[#].celsius >= 20env[#].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.