mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Fix typo condition examples in 0.112 release notes (#13889)
This commit is contained in:
parent
c92539a458
commit
16a1c5b9b1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user