mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix play media action not shown (#19187)
This commit is contained in:
parent
c25baf25ad
commit
442cce1574
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user