Example Flow Director - If - ElseIf - EndIf
Flow to turn on lights dimmed, full or not at all | Homey
This flow will be activated when there is a motion detected by a sensor and will turn the lights on dimmed, full (90%) or not at all.
- First the CountDown to turn the light off, is stopped.
- Then, if the Lumen (lx) of the Sensor is less then 30lx, turn on the lights dimmed at 30%.
- ElseIf the Lumen (lx) is less then 100lx, turn on the lights at 90%.
- If the above is not executed, the lights will not be turned on.