mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
Filter out hidden entities in map configuration (#28320)
This commit is contained in:
@@ -94,7 +94,10 @@ class HuiMapCard extends LitElement implements LovelaceCard {
|
||||
}
|
||||
});
|
||||
|
||||
return locationEntities.filter((entity) => !personSources.has(entity));
|
||||
return locationEntities.filter(
|
||||
(entityId) =>
|
||||
!hass.entities?.[entityId]?.hidden && !personSources.has(entityId)
|
||||
);
|
||||
}
|
||||
|
||||
public setConfig(config: MapCardConfig): void {
|
||||
|
||||
Reference in New Issue
Block a user