mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
Fix invalid yaml (#2546)
This commit is contained in:
parent
d80e4a1af9
commit
a026788585
@ -227,16 +227,16 @@ list `[]` by default.
|
||||
```yaml
|
||||
# Good
|
||||
- alias: "Test"
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.motion
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.motion
|
||||
|
||||
# Bad
|
||||
- alias: "Test"
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.motion
|
||||
condition: []
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.motion
|
||||
condition: []
|
||||
```
|
||||
|
||||
### Strings (continued)
|
||||
@ -311,8 +311,8 @@ actions:
|
||||
- action: light.turn_on
|
||||
entity_id: light.living_room
|
||||
- action: light.turn_on
|
||||
data:
|
||||
entity_id: light.living_room
|
||||
data:
|
||||
entity_id: light.living_room
|
||||
```
|
||||
|
||||
### Properties that accept a scalar or a list of scalars
|
||||
|
Loading…
x
Reference in New Issue
Block a user