Update conditions.markdown (#17147)

This commit is contained in:
Clemens 2021-03-27 19:04:04 +08:00 committed by GitHub
parent c593015de2
commit 886a1be69b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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