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