Incorrect event name (#4540)

* Incorrect event name

event_light_state_changed is the correct event in the configuration example

* Put back typo fix
This commit is contained in:
Maido Käära 2018-02-09 23:09:32 +02:00 committed by Franck Nijhof
parent 1247a72051
commit d797d4dd48

View File

@ -139,7 +139,7 @@ event_data_template:
### {% linkable_title Raise and Consume Custom Events %}
The following automation shows how to raise a custom event called `event_light_turned_on` with `entity_id` as the event data. The action part could be inside a script or an automation.
The following automation shows how to raise a custom event called `event_light_state_changed` with `entity_id` as the event data. The action part could be inside a script or an automation.
{% raw %}
```yaml
@ -155,7 +155,7 @@ The following automation shows how to raise a custom event called `event_light_t
```
{% endraw %}
The following automation shows how to capture the custom event `event_light_turned_on`, and retrieve corresponding `entity_id` that was passed as the event data.
The following automation shows how to capture the custom event `event_light_state_changed`, and retrieve corresponding `entity_id` that was passed as the event data.
{% raw %}
```yaml