Releases: thematrixdev/home-assistant-clp
Releases · thematrixdev/home-assistant-clp
v14.0.0
Breaking Changes
- Minimum Home Assistant version: 2025.12+
- Drops
async_timeoutin favor ofasyncio.timeout(Python 3.11+) - Drops deprecated
FlowResultin favor ofConfigFlowResult
Bug Fixes
- Fix "Config flow could not be loaded: 500 Internal Server Error" when clicking Configure on HA 2026.3.1 (#21)
- Update OptionsFlow to use framework-injected
config_entry(new HA pattern)
v13.0.1
Fix: Token refresh robustness
Issue 1: Wrong error code for refresh trigger
The CLP API returns error code 100001 ("LR access_token error") when the access token expires after ~1 hour. Previously, the refresh logic only checked for code 906.
Issue 2: 403 with connection closed
When the API returns 403 but the connection closes before the response body can be read, error_data stays None and the refresh condition was skipped entirely, causing tokens to be permanently cleared.
Changes
- Added code
100001to the token refresh trigger condition alongside existing code906 - Added fallback: attempt refresh on any 403 with unreadable response body when a refresh token is available
- Bumped manifest version to
13.0.1
v13.0.0
BREAKING CHANGES
- Please remove the existing installation and configure again
- You have to specify
access tokenandrefresh token
Full Changelog: v12.0.3...v13.0.0
v12.0.3
support getting OTP and re-login with help of IMAP integration
v12.0.2
do not reset access-token when there are connecting issues, at all
v12.0.1
do not reset access-token when there are connecting issues (especially during mid-night) but try for some more times
v12.0.0
BREAKING CHANGES
- signing-in with
usernameandpasswordis no longer supported by CLP - for existing users, after upgrade, please go to HA > Integrations > Configure
v11.8.4
- update for Home Assistant 2025.6
- fix getting bill data
v11.8.3
- skip inactive account
v11.8.2
- update error handling