Steps
Attribute changes
Battery, brightness, HVAC action… changes
When step — What starts the flow. Step type when-attribute.
How it works
Starts the flow when one attribute of a device changes: battery, brightness, HVAC action, position… Choose "changes", "becomes a value", or a numeric crossing with an optional hold time and re-arm level. Temperature attributes are in your display unit.
Example
Attribute changes (Front lock battery drops below 20) → Send notification ("Replace the lock battery")One warning when the battery gets low.
Options
| Option | Key | Kind | Required | Notes |
|---|---|---|---|---|
| Device | entityId | entity | yes | — |
| Attribute | attribute | attribute | yes | — |
| When it | condition | select | yes | options: changes, to, above, below |
| Value | value | text | yes | shown when condition is to |
| Value | value | attributeValue | yes | shown when condition is above / below |
| For at least | forSeconds | duration | no | up to 86400 s; shown when condition is above / below |
| Re-arm when back below | rearmValue | attributeValue | no | shown when condition is above |
| Re-arm when back above | rearmValue | attributeValue | no | shown when condition is below |
Exits
One exit. Triggers have no incoming connection.
Wire format
What the step stores in the flow definition's data bag (JSON schema).