mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Describe that conditions of an 'if' are 'and' (#36270)
This commit is contained in:
parent
378c353a1d
commit
121f122c6b
@ -576,9 +576,8 @@ It contains the following fields:
|
||||
|
||||
## If-then
|
||||
|
||||
This {% term action %} allow you to conditionally (`if`) run a sequence of actions (`then`)
|
||||
and optionally supports running other sequence when the condition didn't
|
||||
pass (`else`).
|
||||
This {% term action %} allows you to conditionally (`if`), based on or more [conditions](/docs/scripts/conditions/) (which are `and` combined),
|
||||
run a sequence of actions (`then`) and optionally supports running other sequence when the condition didn't pass (`else`).
|
||||
|
||||
```yaml
|
||||
script:
|
||||
|
Loading…
x
Reference in New Issue
Block a user