mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Don't hide location entities that are "home" in the MapViewStrategy (#23462)
This commit is contained in:
parent
c4b2896fac
commit
eaab19fb8c
@ -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)
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user