ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When changing charging program, max_state_of_charge doesn't update

TheGroundZero opened this issue · comments

The problem

When changing the charging program (e.g. from Standard to Home), the max_state_of_charge doesn't update.
For example, if the Standard was set to a charge goal of 100% but the Home program sets it to 50%, MBAPI will still report 100% as max_state_of_charge.

What version of MBAPI2020 do use?

v0.11.1

What was the last working version of MBAPI2020?

No response

What type of installation are you running?

Home Assistant Container

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

There is a special sensor "max_soc" for this case, but as discussed in the other ticket, the sensor does not work in the current release and is fixed in the master branch with 543ce5e

I have published a beta version v0.11.2-beta.4. The error is handled in this release. Please check.

Fixed withh v0.12.0