From eaab19fb8c0541a4301c0bcde41dbd96fdc4c0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Beye?= Date: Tue, 21 Jan 2025 19:14:04 +0100 Subject: [PATCH] Don't hide location entities that are "home" in the MapViewStrategy (#23462) --- src/panels/lovelace/strategies/map/map-view-strategy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/panels/lovelace/strategies/map/map-view-strategy.ts b/src/panels/lovelace/strategies/map/map-view-strategy.ts index f065e69afd51..84dfe81c9179 100644 --- a/src/panels/lovelace/strategies/map/map-view-strategy.ts +++ b/src/panels/lovelace/strategies/map/map-view-strategy.ts @@ -14,7 +14,6 @@ const getMapEntities = (hass: HomeAssistant) => { const locationEntities: string[] = []; Object.values(hass.states).forEach((entity) => { if ( - entity.state === "home" || !("latitude" in entity.attributes) || !("longitude" in entity.attributes) ) {