## 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:

## 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 `\\