Skip to content

Commit

Permalink
Fix play media action not shown (#19187)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Dec 29, 2023
1 parent c25baf2 commit 442cce1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
): ListItem[] => {
if (type === "action" && isService(group)) {
const result = this._services(localize, services, manifests, group);
if (group === "service_media_player") {
if (group === `${SERVICE_PREFIX}media_player`) {
result.unshift(this._convertToItem("play_media", {}, type, localize));
}
return result;
Expand Down

0 comments on commit 442cce1

Please sign in to comment.