Skip to content

v0.40.0

Choose a tag to compare

@ReneNulschDE ReneNulschDE released this 05 Sep 11:15
· 34 commits to master since this release

What's Changed

⚡ New: stop charging and release the cable

  • New action mbapi2020.charge_coupler_stop. It ends the running charging session and unlocks the charging cable, the same way the "stop charging" button in the Mercedes me app does. Your security PIN is required. (#436, contributed and tested on a GLC 400e by @johanvdk1, from #433)

🐛 Bug Fixes

  • Setting the charge target no longer switches your charge program. Asking for a maximum state of charge without naming a program used to quietly move the car to Standard, even if it was running Home or Work. It now keeps the program the car is currently on. Please read the note below — this changes behaviour for existing automations. (#434, reported by @josephdouce in #229)

  • Setting the charge target now works on cars that previously refused it. Some vehicles — for example the GLC 400e — rejected the action with a "feature not available" warning even though the car can set a charge target perfectly well. (#435, contributed and tested on a GLC 400e by @johanvdk1)

  • The new action is now shown with a proper name and description in all supported languages instead of an internal identifier.

  • Window cover entities show the correct position again while a window is in the intermediate airing position. (#432)

  • Entities are no longer set up twice after a slow start.

✨ Also new

  • Binary sensors for the deck lid. (#431)

Important

Breaking change: check your charge target automations

This only affects you if you use the Set maximum state of charge action (mbapi2020.battery_max_soc_configure) without filling in the Charge program field.

  • Before: the action always applied to charge program Standard (0) and switched the car to it.
  • Now: the action applies to whichever program the car is currently running, and leaves that program active.

What to do:

  • If you only ever use Standard anyway, or you already fill in the Charge program field: nothing to do.
  • If you have an automation that relied on the old behaviour — that is, you were using this action to force the car back to Standard — set the Charge program field to 0 explicitly. That restores exactly what you had before.

Note that the car always activates whichever program you configure. There is no way to change an inactive program's target and leave it inactive — that is how the Mercedes service works, not something this integration can change.

Note

About stopping charging and the charging cable

When you run the new Stop charge coupler action, the car ends the session and unlocks the cable so you can unplug it. Left alone, it stays stopped — it does not restart on its own.

**There is no "resume charging" action, ** but one workaround has been reported: if the cable is still plugged in, sending the ordinary Lock doors action re-engages the cable latch and charging resumes. This was observed on a single vehicle (a 2023 GLC 400e) and is not an officially supported function, so please try it on your own car before relying on it in an automation. If it works — or doesn't — on your model, a short note in the issues would be very welcome.

As with every command that can affect the car physically, your security PIN must be set in the integration options or passed to the action.

Full Changelog: v0.39.1...v0.40.0