• v0.9.0 935d07d0aa

    v0.9.0 — BTClock 4.0.0 API + Nostr Wallet Connect
    All checks were successful
    Lint / Ruff (push) Successful in 1m17s
    Test / Pytest (push) Successful in 4m18s
    Stable

    djuri released this 2026-06-01 13:42:50 +00:00 | 0 commits to main since this release

    Full 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 fixavailableFonts is 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 nostrRelays array.

    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 connectivityconnectionStatus.nostr is 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_v3 firmware source; all v4 additions are variant- / setting-gated and never appear on older firmware. Legacy settings-write keeps /api/json/settings; 3.4.0+ uses PATCH /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