## v1.13.5 ### 🐛 Bug Fixes: - Add build.yaml for homeassistant version > 2026.04.X ## v1.13.4 ### 🐛 Bug Fixes: - Fix `AttributeError: module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'` when paho-mqtt < 2.0 is installed ## v1.13.3 ### 🐛 Bug Fixes: - Bump pypi packages ## v1.13.2 ### 🐛 Bug Fixes: - Fix KeyError: 'authorizeResponse' in auth flow #318 ## v1.13.1 ### 🐛 Bug Fixes: - Fix missing charging system state `error` #314 - Move `object_id` to `default_entity_id` for mqtt entities according to #312 ## v1.13.0 ### 🚀 Features: - Move energy api to v2 (https://developer.volvocars.com/apis/energy/v2/release-notes/) ## v1.12.2 ### 🚀 Features: - Add more logging for refresh process - Update refresh token, if volvo API returns a new one ## v1.12.1 ### 🐛 Bug Fixes: - Fix `trip_speed` and `trip_distance` unit for `en_US` and `en_GB` #301 ## v1.12.0 ### 🚀 Features: - Some minor corrections and more checking for exceptions #267 - Better logging, indicate URL used on API errors, check exceptions in more places to dont kill threads, add option for mqtt logging - Dont force token renew on 5xx errors - Indicate payload on error message to understand better issue #270 - Better checking on received update_interval #270 - Add TA trip statistics #283 Thanks to @luka6000 and @ivanfmartinez for your PRs! ## v1.10.6 ### 🐛 Bug Fixes: - Fix missing refresh_token and API changes by volvo. Thanks to @esusxunil. ## v1.10.5 ### 🐛 Bug Fixes: - Fix interior and exterior images if more than one car is in use ## v1.10.4 ### 🐛 Bug Fixes: - re-fix bug if app needs to be re-authenticated with OTP while runtime ## v1.10.3 ### 🐛 Bug Fixes: - Add more info logging for credential refresh process - Fix bug if app needs to be re-authenticated with OTP while runtime ## v1.10.2 ### 🐛 Bug Fixes: - Remove unused multiplier options #239 ## v1.10.1 ### 🚀 Features: - Optimize logging for vcc-api-key check #238 ## v1.10.0 ### 🚀 Features: - Remove unused multiplier options ### 🐛 Bug Fixes: - Support new statistic keys #237 ## v1.9.7 ### 🐛 Bug Fixes: - Fix EX30 battery state #230 ## v1.9.6 ### 🐛 Bug Fixes: - Fixed interior and exterior Images #219 - Take care of broken token files #220 ## v1.9.5 ### 🚀 Features: - Added "retain" states to survive HA reboot ## v1.9.4 ### 🐛 Bug Fixes: - Fix backend state API url ## v1.9.3 ### 🐛 Bug Fixes: - Ignore retained OTP messages #193 ## v1.9.2 ### 🐛 Bug Fixes: - Try to fix OTP Input - Fix `SyntaxWarning: invalid escape sequence '\d'` #196 ## v1.9.1 ### 🚀 Features: - The token file now survives an HA addon update/restart ### 🐛 Bug Fixes: - Extend OTP retry time to 120 seconds ## v1.9.0 ### ⚠️ Breaking change ### 🚀 Features: - Add "Battery Capacity" sensor. Thanks to @gurtjun! - OTP Auth This addon uses the same OTP authentication as the Volvo app, now. The following steps are required for authentication in exactly this order: 1. Setup volvo2Mqtt, either via Docker, or via HA addon (take a look at the "Setup" section) 2. Fill in your settings and start volvo2Mqtt 3. Your log will show the following lines Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 0/15 Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 1/15 etc ... 4. Now, open your mailbox and copy your OTP Code 5. Open HomeAssistant and search for the entity ID text.volvo_otp 6. Paste your OTP into the text entity and press Enter 7. If everything has worked, your addon is now authenticated. In the future, OTP authentication only needs to be done when updating, not when restarting the container. ## v1.8.27 ### 🚀 Features: - Add state caching for "diagnostics" endpoint ## v1.8.26 ### 🚀 Features: - Add option to disable updates #160 (Set the update interval to -1) ## v1.8.25 ### 🚀 Features: - Fix INTERNAL_SERVER_ERROR #165 ## v1.8.24 ### 🚀 Features: - Add option for dynamic interval settings #160 - Add warnings endpoint #151 ## v1.8.23 ### 🚀 Features: - Add new charging system states #152 ## v1.8.22 ### 🚀 Features: - Change units to HA default #148 ## v1.8.21 ### 🐛 Bug Fixes: - Try to fix addon build #146 ## v1.8.20 ### 🐛 Bug Fixes: - Fix Addon crash if icon state is `UNKOWN` - Add `UNSPECIFIED` state for windows ## v1.8.19 ### 🐛 Bug Fixes: - Fix Estimated Charging Time not changing to zero #133 ## v1.8.18 ### 🐛 Bug Fixes: - Fix Backend State Sensor returning `null` ## v1.8.17 ### 🚀 Features: - Move vehicle and vehicle details to v2 endpoint ### 🐛 Bug Fixes: - Fix Battery Charge Level icon update ## v1.8.16 ### 🚀 Features: - Add `Average energy consumption`, `Distance to empty battery` and `Washer fluid level` sensors - Support force update for `Backend state` Sensor - Use cached requests for fuel endpoint ## v1.8.15 ### 🚀 Features: - Move `batteryChargeLevel` to the new v2 fuel endpoint - Add api backend status sensor ## v1.8.14 ### 🐛 Bug Fixes: - Fix distance to empty sensor #127 - Remove unused service warning trigger sensor ## v1.8.13 ### 🐛 Bug Fixes: - Add "Time to Service" sensor #125

Breaking change: The "Months to Service" sensor will be automatically deleted.
"Time to Service" contains this information now. ## v1.8.12 ### 🐛 Bug Fixes: - Fix `AJAR` state for windows - Fix deprecation from `currentThread` to `current_thread` ## v1.8.11 ### 🐛 Bug Fixes: - Remove old code from checks for running engine sensor - Move battery charge level sensor from v2 to v1, as v2 returns 404 ## v1.8.10 ### 🐛 Bug Fixes: - Add `AJAR` state for sunroof #123 ## v1.8.9 ### 🐛 Bug Fixes: - Fix api changes from volvo #121 ## v1.8.8 ### 🐛 Bug Fixes: - Fix json decode error, if volvo API returns a simple string #104 ## v1.8.7 ### 🚀 Features: - Add option to disable log completely #96 ### 🐛 Bug Fixes: - Fix regex error for some mailaddresses #97 ## v1.8.6 ### 🚀 Features: - Add option to use multiple docker containers (with different logins) #93 ## v1.8.5 ### 🚀 Features: - Allow phone number as username #91 ## v1.8.4 ### 🚀 Features: - Optimize Addon configuration #90 ## v1.8.3 ### 🚀 Features: - Add `device_class: battery` for battery state sensors from BEV and PHEV ## v1.8.2 ### 🚀 Features: - Add `updateInterval` limit to prevent abuse (60 Seconds) - Add `vccapikey` limit to prevent abuse (3 Keys) - Optimize vcc api key change behaviour ## v1.8.1 ### 🐛 Bug Fixes: - Fix app crash if `debug` is not set #86 ## v1.8.0 ### 🚀 Features: - Breaking change: The `vccapikey` setting is now a list. It is possible to add multiple VCCAPIKEYs. This will be helpful if you are extending your 10.000 call limit sometimes. Change your vccapikey config like this: Old: ``` "vccapikey": "vccapikey1" ``` New: ``` vccapikey: - vccapikey1 - vccapikey2 - vccapikey3 - etc. ``` More information about this feature [here](https://github.com/Dielee/volvo2mqtt/issues/84). ## v1.7.10 ### 🐛 Bug Fixes: - Fix application startup if using `en_US` or `en_GB` as locale ## v1.7.9 ### 🚀 Features: - Added vehicle diagnostics sensors #75. Thanks to @aerrow5! ## v1.7.8 ### 🐛 Bug Fixes: - Fix "Estimated Charging Finish Time" Sensor ## v1.7.7 ### 🚀 Features: - Added long term statistics for some sensors #68. Thanks to @bogdanbujdea! - Automatic redact sensitive data from debug log - Perpare for scheduler option (not yet ready) ## v1.7.6 ### 🚀 Features: - Added support for interior and exterior images via the new [MQTT Image](https://www.home-assistant.io/integrations/image.mqtt/) entity. #62 NOTE: This feature is only available using homeassistant version 2023.7.1 or greater. ## v1.7.5 ### 🚀 Features: - Added support for `LOCKING` and `UNLOCKING` state (Lock entity) ## v1.7.4 ### 🐛 Bug Fixes: - Fixed undocumented charging connection state `CONNECTION_STATUS_FAULT` '#57 ## v1.7.3 ### 🐛 Bug Fixes: - Fixed API changes from Volvo #53 ATTENTION: Volvo optimized their API. Maybe you have to set your odometer multiplier to 1. Also check all the other multipliers! ## v1.7.2 ### 🐛 Bug Fixes: - Fixed "Engine State" can be "true" or "false", not "RUNNING" or "STOPPED" #47 ## v1.7.1 ### 🚀 Features: - Moved "Engine State" from "sensor" to the "binary_sensor" domain - Improved HA Add-On security level to 7 NOTE: The old "sensor" entity will be not deleted automatically. If you want to clean up your mqtt device, just delete it and restart the volvo2mqtt addon. ## v1.7.0 ### 🚀 Features: - Added MQTT autodiscovery for HA Add-On users - Added "Engine State" fallback endpoint for some cars (BEVs) - Added dynamic icons for "Engine State" - Turn off the pre-climate switch if "Engine State" changes to "RUNNING" NOTE: The mqtt broker port is now a string. Just quote your port like this `port: "1883"`
NOTE: If you want to switch to MQTT autodiscovery for the HA Add-On change your settings to:
![image](https://i.imgur.com/GBamhFn.png)
## v1.6.5 ### 🐛 Bug Fixes: - Fixed missing key in unit mappings for `en_US` and `en_GB` mapping ## v1.6.4 ### 🚀 Features: - Added dynamic icons for lock, battery and window state #43 ## v1.6.3 ### 🚀 Features: - Moved data source for "Distance to empty" from extended api to connected api ## v1.6.2 ### 🚀 Features: - Moved print statements to logger - Added more debug logging - The full HA Addon log can now be found at your addon smb share `\\\addons\volvo2mqtt\log\volvo2mqtt.log` ## v1.6.1 ### 🚀 Features: - Added "Washer Fluid Level" and "Distance to Empty" sensors #37 - Expanded climate control for better state sync with HA ### 🐛 Bug Fixes: - Fixed wrong return values for not working endpoints - Fixed app crash on credential renewal timeout #39 ## v1.6.0 ### 🚀 Features: - Added conversion from metric to imperial system for `en_US` and `en_GB` locale