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:
parent
1247a72051
commit
d797d4dd48
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue