Skip to content

v0.1.2 — visual editor fixes

Choose a tag to compare

@jpettitt jpettitt released this 08 May 18:07

Patch release fixing two user-reported issues with the visual card editor.

What's fixed

  • Center-mode dropdown wasn't applying selections. Switched from ha-select + mwc-list-item to a native <select> element. The selected event from the MWC stack was silently dropping values across HA frontend versions; native selects fire change deterministically.
  • Entity picker not appearing in entity mode. Removed an over-defensive readiness check that was rendering a fallback message instead of letting the browser do its normal late-upgrade of <ha-entity-picker>. Now uses the same direct-render pattern every other HA custom card uses.
  • Misconfigured non-sun centering looked identical to sun. Card-side resolveCenterLon now falls back to Greenwich (0°) instead of the subsolar point when a mode's required data is missing (no HA longitude, no centerLongitude, no entity longitude). A console warning fires on the fallback so the cause is visible in DevTools.

What's the same

Everything else in v0.1.1: 24-month NASA Blue Marble + Black Marble imagery, real day/night terminator, DST-aware hover popups for 419 IANA zones, sun/home/longitude/entity centering, time scrubbing, viewport-aware throttling, full visual editor.

Install via HACS

  • Already on v0.1.1: HACS will pick up the upgrade automatically.
  • New install: HACS → ⋮ → Custom repositories → add https://github.com/jpettitt/geo-clock-card, category Lovelace.

Bundle

29 release assets: geo-clock-card.js (49 KB), geo-clock-card.js.gz (16 KB), 24 daylight composites, night map, offset GeoJSON, IANA GeoJSON.

NASA imagery is public domain. timezone-boundary-builder data is ODbL.