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 GitHub
parent ac3796ec31
commit d77bdf4ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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