From 9987314d95b309bcbe3d2abc4c97e86e895050dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Beye?= Date: Thu, 26 Dec 2024 21:23:01 +0100 Subject: [PATCH] Don't hide location entities that are "home" in the MapViewStrategy --- 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 be60f615a196..3c88fbfe58b0 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) ) {