Don't hide location entities that are "home" in the MapViewStrategy (#23462)

This commit is contained in:
Sören Beye 2025-01-21 19:14:04 +01:00 committed by GitHub
parent c4b2896fac
commit eaab19fb8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
) {