House building and home automation lighting

  1. A motion/presence/contact sensor can make the zone they’re in active or inactive.
    I prefer to trigger flows with ‘this zone became active’ ‘this zone became inactive’.
    This way, you can swap sensors, add sensors, remove all sensors but one, and you flow will keep on functioning.
    (When you trigger a flow with ‘sensor X motion detected’, and you replace that sensor after a while, the flow stops working, while you’ll have to replace the ‘motion detected’ card with the one which comes with the new sensor)

I’ve some presence sensors as well, and I still prefer the timer ‘function’ like used in this example, to prevent ‘sitting in the dark’ situations (imho no sensor can be adjusted without the occurance of some occasional false positives / false negatives)