Repository navigation
Releases
Releases · cloudbr34k84/ha-pocketsmith
v0.6.1
Changed
- Rename the GitHub repository and development checkout to
ha-pocketsmith. - Update manifest, HACS, branding and contributor links, plus the development symlink instructions.
- Keep the
ha_pocketsmithdomain and existing configuration and entity IDs unchanged.
v0.6.0
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.
v0.5.7
Changed
- Removed config entry update listener (
add_update_listener) to comply with HA 2026.6 deprecation. Using an update listener alongside reloading methods in a config flow (reauth/reconfigure) can cause double-reloads and is deprecated — error in 2026.12. Options changes now take effect via the reload that HA triggers automatically when the options flow saves.
v0.5.6
Fixed
- Fixed uncategorised transactions repair notification to link to
https://my.pocketsmith.com/logininstead of the incorrect app.pocketsmith.com URL.
v0.5.5
Removed
- Over-budget repair issue — removed the
over_budgetrepair issue. It was not actionable by users mid-month and added noise to the HA repairs panel. Thebinary_sensor.pocketsmith_over_budgetentity still surfaces this data for anyone who wants to build automations on it.
v0.5.4
Added
- Grandparent category attributes — category sensors now expose
grandparent_idandgrandparent_title, resolving the full category hierarchy (category → parent → grandparent). - Category metadata attributes — surfaced
refund_behaviour,roll_up, andcolourdirectly from the PocketSmith category API on each category sensor. - Computed budget pacing attributes — added
days_in_month,days_elapsed_in_month,days_remaining_in_month,daily_budget,daily_actual, andon_trackso you can track whether spend is keeping pace with budget within the current month.
v0.5.3
v0.5.2
v0.5.1
What's Changed
Fixes
- Increase request timeout and improve logging for PocketSmith API calls
- Fix
backfill_failedissue title — remove single quotes around placeholder to pass hassfest validation
Other
- Refactor imports in
repairs.pyfor clarity - Enhance README with new features, options, and improved clarity
Full Changelog: v0.5.0...v0.5.1
Full Changelog: v0.5.0...v0.5.1