Fix browser media player showing more info dialog (#24021)

This commit is contained in:
Philipp 2025-02-03 11:36:19 +01:00 committed by Bram Kragten
parent f8742ae690
commit ff1159402e

View File

@ -462,7 +462,7 @@ export class BarMediaPlayer extends SubscribeMixin(LitElement) {
} }
private _openMoreInfo() { private _openMoreInfo() {
if (this._browserPlayer) { if (this.entityId === BROWSER_PLAYER) {
return; return;
} }
fireEvent(this, "hass-more-info", { entityId: this.entityId }); fireEvent(this, "hass-more-info", { entityId: this.entityId });