Steps
Someone arrives / leaves
The home, a person or a place becomes occupied or empty
When step — What starts the flow. Step type when-presence.
How it works
Starts the flow when the household, one person, or a saved place becomes occupied (arrives) or empty (leaves). The household is the default; pick a person or a place to narrow it.
Example
Someone arrives / leaves (Everyone leaves) → Control devices (all lights off)Lights go off when the last person leaves.
Options
| Option | Key | Kind | Required | Notes |
|---|---|---|---|---|
| Event | event | select | yes | options: arrive, leave |
| Who | who | select | no | options: anyone, person |
| Person | userId | member | yes | shown when who is person |
| Where (empty = home) | placeId | place | no | — |
Exits
One exit. Triggers have no incoming connection.
Wire format
What the step stores in the flow definition's data bag (JSON schema).