diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts index 84705d650c..bfce8235ea 100644 --- a/src/dialogs/more-info/ha-more-info-dialog.ts +++ b/src/dialogs/more-info/ha-more-info-dialog.ts @@ -302,7 +302,9 @@ export class MoreInfoDialog extends LitElement { } private _goToAddEntityTo(ev) { - if (!shouldHandleRequestSelectedEvent(ev)) return; + // Only check for request-selected events (from menu items), not regular clicks (from icon button) + if (ev.type === "request-selected" && !shouldHandleRequestSelectedEvent(ev)) + return; this._setView("add_to"); } @@ -550,7 +552,18 @@ export class MoreInfoDialog extends LitElement { : nothing} ` - : nothing} + : !__DEMO__ && this._shouldShowAddEntityTo() + ? html` + + ` + : nothing} ` : isSpecificInitialView ? html`