mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix media player list when there are entities not in the registry (#17015)
This commit is contained in:
parent
bf18deb83c
commit
76490cc690
@ -464,7 +464,7 @@ export class BarMediaPlayer extends SubscribeMixin(LitElement) {
|
||||
(entity) =>
|
||||
computeStateDomain(entity) === "media_player" &&
|
||||
supportsFeature(entity, MediaPlayerEntityFeature.BROWSE_MEDIA) &&
|
||||
!this.hass.entities[entity.entity_id].hidden
|
||||
!this.hass.entities[entity.entity_id]?.hidden
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user