diff --git a/src/panels/config/automation/action/types/ha-automation-action-event.ts b/src/panels/config/automation/action/types/ha-automation-action-event.ts index 238e72287e..81fc2c10da 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-event.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-event.ts @@ -7,6 +7,7 @@ import { query, } from "lit-element"; import { html } from "lit-html"; +import { fireEvent } from "../../../../../common/dom/fire_event"; import "../../../../../components/entity/ha-entity-picker"; import "../../../../../components/ha-service-picker"; import "../../../../../components/ha-yaml-editor"; @@ -51,7 +52,7 @@ export class HaEventAction extends LitElement implements ActionElement { )} name="event" .value=${event} - @value-changed=${this._valueChanged} + @value-changed=${this._eventChanged} >