Triggers (left)
- Motion sensors: (IKEA)Valhorn + FP2 → ON/OFF.
- Countdown timer → reaches 0.
- Toilet zone → 2 min active / inactive.
- Humidity sensor → >70% / <70%.
Logic (middle)
- Light Turned on = yes → checks light state.
- Humidity > 70.
- Toilet occupied = yes.
Actions (right)
- Lights:
- Dim to 100% when motion ON.
- Stop timer on motion ON.
- Dim to 20% when motion OFF (if Turned on = yes).
- Start countdown (10s).
- OFF when timer reaches 0.
- Fan:
- ON when Toilet zone active.
- OFF when Toilet inactive and Humidity <70