From ffc043514439c204ce0923db429a658556009670 Mon Sep 17 00:00:00 2001 From: TJ Horner Date: Tue, 8 Oct 2024 14:07:38 -0700 Subject: [PATCH] Fix erroneous addition of `service:` key in `ha-automation-action-play_media` element (#22294) fix: no longer erroneously set 'service' in ha-automation-action-play_media --- .../automation/action/types/ha-automation-action-play_media.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,