mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +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
|
```yaml
|
||||||
template:
|
template:
|
||||||
trigger:
|
- trigger:
|
||||||
platform: event
|
platform: event
|
||||||
event_type: my_event
|
event_type: my_event
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- name: Event recently fired
|
- name: Event recently fired
|
||||||
auto_off: 5
|
auto_off: 5
|
||||||
state: "true"
|
state: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Sun Angle
|
### Sun Angle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user