github ReneNulschDE/mbapi2020 v0.27.0-beta.2

latest releases: v0.29.4, v0.29.3, v0.29.2...
pre-releaseone month ago

New fixes:

  • Multiple errors Error doing job: Task was destroyed but it is pending! are logged (this was a complex change und therefor I decided to publish an additional beta version)
  • The first Http429 is logged as a warning and not as an error anymore. (in case re-login does not solve the problem, all other 429 are logged as error.)

New features:

  • The new web-socket sensors are bound to a new "account" device to find them more easily esp. with the HA frontend changes in 2025.07. (the sensors out of beta.1 get deleted and first start and you need to enable them again if needed)

⚠️ Pre-release Notice
This is a pre-release version. Please expect potential bugs. Enable debug logging if errors occur, and report issues by creating a new GitHub issue with as much relevant information as possible.

⚠️ Short Testing Cycle
This version has undergone only a very limited testing period. It is not recommended for use in production environments.


🛑 Breaking Changes

1. HTTP 429 Errors

  • Mercedes-Benz recently introduced changes to the backend API, resulting in rate limits for certain resources (e.g., real-time updates). This required new token generation on a daily basis.
  • To address this, a new login flow using your Mercedes-Benz username and password was implemented. These credentials are now used to recover automatically from such issues.
  • Action required: After updating, restart Home Assistant and reauthenticate using your MB account credentials.
  • The token creation tool is no longer needed.
  • Note: HTTP 429 errors may still occur once per day. When this happens, a new login and automatic reload of the component will be triggered to return it to a valid state.

2. China Region Removed

  • The China region has been removed from the configuration dialog.
  • The last known working version for China is v0.22. You can download this version via HACS.
  • If you'd like to contribute to the continued development for the China region, please refer to issue #339.

🐞 Other Fixes

  • Resolved an issue where the recorder component could log errors such as:
    ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending!...
    (Occurred in rare scenarios.)

  • Adjusted the default precision for tire pressure sensors to 0.0 for better compatibility with Bar units.
    (This is still a work in progress and will be further refined.)


🔧 Chore

  • Two new sensors for monitoring the WebSocket connection are now available.
    These are disabled by default — enable them via the integration settings page if needed.

🙏 Acknowledgements

Thanks for your patience and support.
Special thanks to the new sponsors, everyone who starred the repository, and all contributors!

Don't miss a new mbapi2020 release

NewReleases is sending notifications on new releases.