Skip to content

Commit

Permalink
Fix erroneous addition of service: key in `ha-automation-action-pla…
Browse files Browse the repository at this point in the history
…y_media` element (#22294)

fix: no longer erroneously set 'service' in ha-automation-action-play_media
  • Loading branch information
tjhorner authored Oct 8, 2024
1 parent 5877d69 commit ffc0435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ffc0435

Please sign in to comment.