Steps
Day or night
Only in daylight, or after sunset
And step — Only continue if…. Step type and-sun.
How it works
Continues only during the day (between sunrise and sunset) or at night, with optional minute offsets on either boundary.
Example
Device changes (Motion detected) → Day or night (night) → Control devices (kitchen light on)Motion turns the light on only after dark.
Options
| Option | Key | Kind | Required | Notes |
|---|---|---|---|---|
| It is | state | select | yes | options: night, day |
| Sunset offset | sunsetOffsetMinutes | number | no | range -720–720 min (− = earlier) |
| Sunrise offset | sunriseOffsetMinutes | number | no | range -720–720 min (− = earlier) |
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).