diff --git a/src/panels/config/automation/action/types/ha-automation-action-play_media.ts b/src/panels/config/automation/action/types/ha-automation-action-play_media.ts index 183602253b79..a49bf82f5c20 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-play_media.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-play_media.ts @@ -52,7 +52,7 @@ export class HaPlayMediaAction extends LitElement implements ActionElement { fireEvent(this, "value-changed", { value: { ...this.action, - service: "media_player.play_media", + action: "media_player.play_media", target: { entity_id: ev.detail.value.entity_id }, data: { media_content_id: ev.detail.value.media_content_id,