Releases: ReneNulschDE/mbapi2020
v0.16.0 - Sunroof lift, Max soc for charging programs, Cleanup
New:
- New service sunroof_tilt to tilt/lift the sunroof (Pin setup required) (Thanks @es-que)
- The service max_soc_configure has an optional parameter for the charging program now (Thanks @josephdouce)
- New sensor "tirewarningsdk", Esp. for Smart-cars or older MB-cars.
NO_WARNING = 0 SOFT_WARNING = 1 LOW_PRESSURE = 2 DEFLATION = 3 UNKNOWN = -1
Breaking changes:
- The attributes "rangeelectric", "chargingPower" are removed from the "soc"-sensor as they are available as sensors. (Thanks @Thomas55555 )
- The attributes "electricconsumptionstart", "electricconsumptionreset", "soc", "chargingPower" are removed from the "rangeElectricKm"-sensor as they are available as sensors. (Thanks @Thomas55555)
- The load mechanism of the component on HA-startup was changed. In the past, the component was loaded outside of the HA-startup environment. The result was that for the first 3-6 seconds the sensor went to unknown. Now, the component is loaded in a way that the last values are available until the states are available. Whenever you have automations/scripts in place that are dependent on that "old"-procedure you need to be adjust these.
Others:
- Some changes to be inline with the upcoming HA 2024.07 release
- Frontend translation for the chargeflap[a/d]cstatus sensors
Translations:
- CZ is nearly complete (Thanks @ngocjohn)
You can improve the translations of the other languages with the translation tool webplate. I will extend the translatable sensors in the next release.
v0.16.0-beta.1 - Sunroof lift, Max soc for charging programs, HA Core changes, Cleanup
New:
- New service sunroof_tilt to tilt/lift the sunroof (Pin setup required) (Thanks @es-que)
- The service max_soc_configure has a optional parameter for the charging program now (Thanks @josephdouce)
- New sensor "tirewarningsdk", Esp. for Smart-cars or older MB-cars.
NO_WARNING = 0 SOFT_WARNING = 1 LOW_PRESSURE = 2 DEFLATION = 3 UNKNOWN = -1
Breaking changes:
- The attributes "rangeelectric", "chargingPower" are removed from the "soc"-sensor as they are available as sensors. (Thanks @Thomas55555 )
- The attributes "electricconsumptionstart", "electricconsumptionreset", "soc", "chargingPower" are removed from the "rangeElectricKm"-sensor as they are available as sensors. (Thanks @Thomas55555)
Others:
- Some changes to be inline with HA 2024.07
- Frontend translation for the chargeflap[a/d]cstatus sensors
v0.15.0 - HA Core changes, Cleanup, Auth-Handler
This release is a maintenance and clean-up release to be in-line with the upcoming HA core version 2024.06. It contains breaking changes. Please read the release notes... Thanks for the cocktails and beers last week :-)
Breaking Changes:
- Attributes removed from the
tirewarninglamp
-binary-sensor as we have own sensors since some months:tirepressureRearLeft, tirepressureRearRight, tirepressureFrontRight, tirepressureFrontLeft,
(Thanks @Thomas55555 for the PR #238)
New:
- New binary sensor
chargeFlapACStatus
(Thanks @Thomas55555 for the PR #237)
Fixes:
- Multiple warnings
[homeassistant.util.loop] Detected blocking call...
(#228) - Service windows_open has no optional pin field (#233)
- Error lastParkEvent sensor (NoneType check, #230)
- The authentication tokens are stored in the HA core registry and the tokens are not stored in the file system anymore. (the old mercedes-token-cache... files are not updated anymore and can be deleted manually). This could be a breaking change for users with custom scripts. (Next and hopefully last try on the ReAuth issue)
Other Notes:
- The change log of v0.14.0 missed one change: The state_class of the sensor odometer is now total_increasing to better support statistics. (Thanks @thomasdelaet for the PR #225)
v0.15.0-beta.2 - HA Core changes, Cleanup, Auth-Handler
This release is a maintenance and clean-up release to be in line with the upcoming HA core version 2024.06. It contains breaking changes. Please read the release notes... Thanks for the cocktails and beers last week :-)
Breaking Changes:
- Attributes removed from the
tirewarninglamp
-binary-sensor as we have own sensors since some months:tirepressureRearLeft, tirepressureRearRight, tirepressureFrontRight, tirepressureFrontLeft,
(Thanks @Thomas55555 for the PR #238)
New:
- New binary sensor
chargeFlapACStatus
(Thanks @Thomas55555 for the PR #237)
Fixes:
- Multiple warnings
[homeassistant.util.loop] Detected blocking call...
(#228) - Service windows_open has no optional pin field (#233)
- Error lastParkEvent sensor (NoneType check, #230)
- The authentication tokens are stored in the HA core registry and the tokens are not stored in the file system anymore. (the old mercedes-token-cache... files are not updated anymore and can be deleted manually). This could be a breaking change for users with custom scripts. (Next and hopefully last try on the ReAuth issue)
Other Notes:
- The change log of v0.14.0 missed one change: The state_class of the sensor odometer is now total_increasing to better support statistics. (Thanks @thomasdelaet for the PR)
v0.15.0-beta.1 - HA Core changes, Auth-Handler
This release is more a maintenance release to be in line with the upcoming HA core version 2024.06
Fixes:
- Multiple warnings
[homeassistant.util.loop] Detected blocking call...
(#228) - Service windows_open has no optional pin field (#233)
- Error lastParkEvent sensor (NoneType check, #230)
- The authentication tokens are stored in the HA core registry and the tokens are not stored in the file system anymore. (the old mercedes-token-cache... files are not updated anymore and can be deleted manually). This could be a breaking change for users with custom scripts. (Next and hopefully last try on the ReAuth issue)
Other Notes:
- The change log of v0.14.0 missed one change: The state_class of the sensor odometer is now total_increasing to better support statistics. (Thanks @thomasdelaet for the PR)
v0.14.0 - MB API changes, AdBlue Sensor, Images download
Fix for the MB API changes 2024-05-26!!!
New:
- New service "download_images". This service will download a zip-file from the MB-servers with images (to custom_components/mbapi2020/resources/vin.zip) that Thomas used in his post
- New sensor "tankleveladblue". Shows the level of the AdBlue tank in %.
Fixes:
Next try on the ReAuth issue. (I can't reproduce it and changed the logic a little bit)
v0.14.0-beta.1 - AdBlue Sensor, Images download
New:
- New service "download_images". This service will download a zip-file from the MB-servers with images (to custom_components/mbapi2020/resources/vin.zip) that Thomas used in his post
- New sensor "tankleveladblue". Shows the level of the AdBlue tank in %.
Fixes:
- Next try on the ReAuth issue. (I can't reproduce it and changed the logic a little bit)
v0.13.0 - MB Server changes, New service windows_move
This release handles the latest MB-server side changes
Important: In case you get an error 429. Please stop HA or deactivate the MBAPI2020 component for 15min after the update.
Fixes:
- The component is now pinging the MB-servers every 15 sec via websocket to keep the connection open. (#219)
- ConnectionResetError "Cannot write to closing transport" (#218)
- ValueError: Coroutine not allowed to be passed to HassJob (#218)
New:
- New service "windows_move" for cars with individual windows options (like EQS). You can set your windows to different positions.
v0.13.0-beta.2 - MB Server changes
This release handles the latest MB-server side changes
Important: In case you get an error 429. Please stop HA or deactivate the MBAPI2020 component for 15min after the update.
Fixes:
- The component is now pinging the MB-servers every 15 sec via websocket to keep the connection open. (#219)
- ConnectionResetError "Cannot write to closing transport" (#218)
- ValueError: Coroutine not allowed to be passed to HassJob (#218)
New:
- New service "windows_move" for cars with individual windows options (like EQS). You can set your windows to different positions.
v0.13.0-beta.1 - MB Server changes
This release handles the changes that MB made this morning to their server configuration.
Important: In case you get an error 429. Please stop HA or deactivate the MBAPI2020 component for 15min.
Fixes:
- The component is now pinging the MB-servers every 15 sec via websocket to keep the connection open.
New:
- New service "windows_move" for cars with induvidual windows options (like EQS). You can set your windows to different positions.