Fix template example to match our YAML guidelines (#22801)

* Fix template example to match our YAML guidelines

* Update source/_integrations/template.markdown

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
Franck Nijhof 2022-05-18 11:22:55 +02:00 committed by GitHub
parent f814c6cb3d
commit 3486795742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,13 +385,13 @@ You can use a trigger-based template entity to convert any event or other automa
```yaml
template:
trigger:
platform: event
event_type: my_event
binary_sensor:
- name: Event recently fired
auto_off: 5
state: "true"
- trigger:
platform: event
event_type: my_event
binary_sensor:
- name: Event recently fired
auto_off: 5
state: "true"
```
### Sun Angle