mirror of
https://github.com/home-assistant/frontend.git
synced 2026-09-28 07:58:45 +01:00
* Keep zone occupants in one map bubble Several bubbles piled up on a zone marker. A person inside a zone whose state did not name it (stale or router-based tracking) had no zone key and showed as a loose marker under the bubble, or formed a second bubble on the same spot. Occupants spread beyond the group radius fell back to proximity clusters, and every cluster of same-zone members was pinned above the zone marker, stacking bubbles. Zoomed out, each zone kept its own bubble even when the zone markers overlapped. Zone membership now also follows position: an entity inside a drawn zone's circle joins that zone's bubble. The engine hands the builder the group key, so only the zone's own group is pinned to its marker and proximity clusters show where their members are. Proximity is measured against every member of a group rather than only its first. Bubbles whose rectangles would overlap on screen merge into one plain bubble, keeping the zone's tail only when a single zone is involved. The Leaflet fallback ignores group keys, so it no longer pins bubbles to zones there. * Fix map cluster test lint types Co-authored-by: maartenla <1911588+maartenla@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>