Fix typo condition examples in 0.112 release notes (#13889)

This commit is contained in:
Franck Nijhof 2020-07-02 14:25:03 +02:00 committed by GitHub
parent c92539a458
commit 16a1c5b9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,13 +102,13 @@ So this:
```yaml ```yaml
condition: condition:
- platform: state - condition: state
entity_id: light.kitchen entity_id: light.kitchen
state: 'on' state: 'on'
- platform: state - condition: state
entity_id: light.living_room entity_id: light.living_room
state: 'on' state: 'on'
- platform: state - condition: state
entity_id: light.office entity_id: light.office
state: 'on' state: 'on'
``` ```
@ -117,7 +117,7 @@ Can now be shortened to this:
```yaml ```yaml
condition: condition:
- platform: state - condition: state
entity_id: entity_id:
- light.kitchen - light.kitchen
- light.living_room - light.living_room
@ -129,7 +129,7 @@ An example that tests if the alarm is in any of the specified states:
```yaml ```yaml
condition: condition:
- platform: state - condition: state
entity_id: alarm_control_panel.home entity_id: alarm_control_panel.home
state: state:
- armed_home - armed_home
@ -141,7 +141,7 @@ And this condition is now also passing when Frenck is at home or at work
```yaml ```yaml
condition: condition:
- platform: zone - condition: zone
entity_id: device_tracker.frenck entity_id: device_tracker.frenck
zone: zone:
- zone.home - zone.home