mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update conditions.markdown (#17147)
This commit is contained in:
parent
c593015de2
commit
886a1be69b
@ -15,7 +15,7 @@ Test multiple conditions in one condition statement. Passes if all embedded cond
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
condition:
|
condition:
|
||||||
alias: "Paulus home AND tempeterature below 20"
|
alias: "Paulus home AND temperature below 20"
|
||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
@ -31,7 +31,7 @@ If you do not want to combine AND and OR conditions, you can list them sequentia
|
|||||||
The following configuration works the same as the one listed above:
|
The following configuration works the same as the one listed above:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
alias: "Paulus home AND tempeterature below 20"
|
alias: "Paulus home AND temperature below 20"
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: "device_tracker.paulus"
|
entity_id: "device_tracker.paulus"
|
||||||
@ -49,7 +49,7 @@ Test multiple conditions in one condition statement. Passes if any embedded cond
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
condition:
|
condition:
|
||||||
alias: "Paulus home OR tempeterature below 20"
|
alias: "Paulus home OR temperature below 20"
|
||||||
condition: or
|
condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user