Steps
Device is
A device is in a given state
And step — Only continue if…. Step type and-entity-state.
How it works
Continues only if a device is currently in the chosen state. Otherwise the run leaves through the bottom exit.
Example
Someone arrives / leaves (arrives) → Device is (Front door locked) → Control devices (unlock)The door unlocks on arrival, only if it was locked.
Options
| Option | Key | Kind | Required | Notes |
|---|---|---|---|---|
| Device | entityId | entity | yes | domains: light, switch, input_boolean, lock, cover, fan, binary_sensor, climate, presence, siren, media_player, camera, valve, mode, timer |
| Is | state | state | yes | — |
Exits
Two exits: true (the default connection) and false (drawn dashed). Connect a step to the second exit to handle the other case.
Wire format
What the step stores in the flow definition's data bag (JSON schema).