-
released this
2026-06-01 13:42:50 +00:00 | 0 commits to main since this releaseFull support for BTClock 4.0.0 firmware, while staying compatible with the 3.4.x and 3.3.x (legacy) firmware lines — verified against the firmware source.
BTClock 4.0.0 API support
- Fonts dropdown fix —
availableFontsis now a list of{id, hasBtcSymbol}objects (was strings); the font select surfaces the ids correctly again. - Frontlight brightness now uses the v4 JSON body (
{b}) on 4.0.0; 3.4.x/legacy keep the query form. Same body-vs-query split applied to show-screen / show-currency / show-text. - Frontlight status — v4 nests live state under
frontlight.{on,duties}; normalized so the light entity reflects real device state. - Price symbol select (v4
priceSymMode) replaces the old sats-symbol switch. - Nostr relay sensor falls back to the new
nostrRelaysarray.
New v4 features
- Nostr Wallet Connect (NIP-47) — switches (enabled / show payment notifications / flash on payment), an NWC balance-poll-interval number, and an "NWC connected" binary sensor.
- Per-relay Nostr connectivity —
connectionStatus.nostris now a per-relay array; feed/relay state reports any relay up instead of always-connected. - Decimal share-separator switch, WiFi MAC diagnostic sensor, and a Stop-data-sources button.
Compatibility
- 3.3.x (legacy) and 3.4.0 behaviour verified against the
btclock_v3firmware source; all v4 additions are variant- / setting-gated and never appear on older firmware. Legacy settings-write keeps/api/json/settings; 3.4.0+ usesPATCH /api/settings.
Maintenance
- Home Assistant test pins → 2026.5.4, pytest-homeassistant-custom-component → 0.13.333, ruff → 0.15.15, playwright → 1.60.0.
- Test suite expanded to 208 tests covering all of the above.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Fonts dropdown fix —