Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 04:51
· 5 commits to main since this release

Changed

  • Enable strict mypy checks for every integration module and type the config-entry runtime data.
  • Move entity icons and dynamic account and rollup names to Home Assistant translations. Category spend sensors now use a fixed icon; over-budget state remains available as an attribute and binary sensor.
  • Limit diagnostics to allowlisted options and aggregate counts, excluding user profiles, identifiers, names and financial amounts.
  • Register integration actions at startup and validate that the entry is loaded.
  • Use hourly polling and retire the configurable polling number entity.
  • Replace title-based entity unique IDs with stable account/category IDs, migrating existing registry entries.
  • Require Home Assistant 2026.3 or later to use locally shipped brand assets.

Fixed

  • Reject replacement API keys belonging to another PocketSmith user; recover existing users' identities from their registered service devices.
  • Supply the required mean type and unit class in recorder statistic metadata on Home Assistant 2026.3 and later.
  • Handle accounts without historical transactions without failing net-worth reconstruction.
  • Keep failed historical backfills incomplete so affected accounts can be retried; clear the repair after a successful sweep.
  • Translate service action validation errors.
  • Report failed coordinator refreshes through the refresh action and button.
  • Cancel and await historical backfill when unloading an integration entry.
  • Log backfill API outages and recovery once per transition, with retry details at debug level.
  • Treat revoked or permission-denied API keys as authentication failures and avoid duplicate failure logs.
  • Preserve currency preferences when saving options; prevent unsafe backfill resets.

Tests

  • Require 100% line and branch coverage for every integration module.
  • Enforce greater than 95% line/branch coverage in every integration module and retain 100% config-flow coverage.
  • Add regression coverage for refresh failures, unload cancellation, outage recovery, API pagination, historical imports, entities, diagnostics, repairs, statistics, and system health.
  • Cover user, reauthentication, reconfiguration, options and error recovery; enforce 100% config-flow line and branch coverage.

Unreleased — Bronze checklist

  • Register actions independently of entry setup and validate loaded entries.
  • Guard reset actions/buttons against disabled or already-running backfills.
  • Use immutable sensor unique IDs and migrate the entity registry in place.
  • Use password selectors and complete config-flow descriptions; preserve currency options.
  • Add config-flow recovery tests and a 100% line/branch coverage CI gate.
  • Classify rejected permissions as authentication failures without duplicate error logging.
  • Use hourly polling; retire the polling options field and number entity. Existing custom interval values are ignored. Previously registered polling number entities can be removed from the entity registry after reload.
  • Require HA 2026.3+, align installation/removal/action documentation and track the custom Bronze checklist.

External recorder statistic IDs are unchanged by the entity-registry migration,
so existing statistic series are not renamed or deleted by this update.

Changelog

All notable changes to the PocketSmith Home Assistant integration are documented here.