Fix invalid yaml (#2546)

This commit is contained in:
Brant Knudson 2025-02-03 06:10:20 -06:00 committed by GitHub
parent d80e4a1af9
commit a026788585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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