Home AssistantHome AssistantContributors
In code
conditions
Also
conditions

An automation only performs its actions when all its conditions pass. In a script, a condition that fails stops the script at that point.