Skip to content

v3.1.0-beta

@jpettitt jpettitt tagged this 25 Apr 17:03
Home suppression:
- isAtHome() checks home_radius FIRST — radius:0 now correctly disables
  suppression even when HA reports state='home'.
- HA state='home' is then checked (authoritative vs GPS drift) before
  falling back to haversine distance.
- zone.* entities are never suppressed.
- Migration of show_marker:true with no position now creates
  entity:zone.home so the home marker is always visible.
- Editor hides home_radius field for zone.home markers.

Marker color (color field):
- Default/MDI icons accept a CSS color string; default icon renders as
  inline SVG (home-circle MDI path) enabling any colour.
- entity_picture markers unaffected by color.
- Editor shows colour picker + Reset for entity markers.

Configurable home_radius per marker (metres, default 500).

Entity picker: ha-selector filtered to device_tracker / person / zone.

LitElement rendering fix: useDefineForClassFields:false; moduleResolution:bundler.

Tests: 126 passing. Mock entityState() defaults to 'not_home';
entityStateHome() for explicit home-state tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Assets 2
Loading