All tags
home-assistant
- Tip
iif(condition, if_true, if_false, if_none)Iif() is the short if/else for Home Assistant templatesiif() turns a condition into one of two values in a single template expression.2 Dec 2026 - Tip
Sensor is availableHas_value() checks that a Home Assistant entity has a usable statehas_value() is true only when the entity exists and is not unavailable or unknown.2 Dec 2026 - TipToday_at() makes time-of-day checks in Home Assistant templates easytoday_at("18:00") returns today's date at that time, so you can compare it with now().2 Dec 2026
- Tip
actions:Wait_for_trigger with a timeout stops Home Assistant automations from waiting foreverSet timeout and continue_on_timeout on wait_for_trigger to decide what happens when nothing arrives.2 Dec 2026 - Tip
actions:Add a round limit to a Home Assistant repeat until loopA repeat until loop ends when its condition is met, so add a repeat.index check to bound it.2 Dec 2026 - Tip
- stop: "Nobody is home, nothing left to do"The stop action ends a Home Assistant run and can mark it as failedstop ends the whole automation or script run, and error: true marks it as failed.2 Dec 2026
Nothing matches.