mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
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:
parent
f814c6cb3d
commit
3486795742
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user