github ReneNulschDE/mbapi2020 v0.8.0
Release v0.8.0 - Units and larger clean-up

latest releases: v0.18.1, v0.18.0, v0.17.0...
20 months ago

Primary objectives of this release:

  1. Fix the unit handling for ALL the people. Now the units from the MB app are used and no conversation based in HA settings is done anymore. Should be esp. interesting for the people in the UK and Down-under.
  2. Move the (first) attributes to sensors (based on the recommendation of the HA-creators)
  3. Code changes required for to the upcoming HA-release 2022-02 (eventually 2022-01, depending on late changes)

All breaking changes:

Units:

  • All units are based on the settings of the MB Me (Connect) App now.

Sensor SOC

  • added State Class measurement
  • removed attribute chargingpower (extra sensor now)

Sensor Odometer

  • removed attribute averageSpeedReset (extra sensor now)
  • removed attribute averageSpeedStart (extra sensor now)
  • removed attribute distanceReset (extra sensor now)
  • removed attribute distanceStart (extra sensor now)
  • removed attribute distanceZEReset (extra sensor now)
  • moved attribute drivenTimeZEReset to sensor distanceZEReset
  • moved attribute drivenTimeReset to sensor distanceReset
  • moved attribute drivenTimeZEReset to sensor distanceZEReset
  • removed attribute batteryState (extra sensor starterBatteryState now)
  • removed attribute ecoscoretotal (extra sensor ecoscoretotal now)
  • removed attribute ecoscorefreewhl (extra sensor ecoscorefreewhl now)
  • removed attribute ecoscorebonusrange (extra sensor ecoscorebonusrange now)
  • removed attribute ecoscoreconst (extra sensor ecoscoreconst now)
  • removed attribute ecoscoreaccel (extra sensor ecoscoreaccel now)
  • removed attribute ecoscorebonusrange (extra sensor ecoscorebonusrange now)
  • removed attribute liquidconsumptionstart (extra sensor liquidconsumptionstart now)
  • removed attribute liquidconsumptionreset (extra sensor liquidconsumptionreset now)
  • removed attribute rangeliquid (extra sensor rangeliquid now)
  • removed attribute tanklevelpercent (extra sensor tanklevelpercent exists already)

Sensor distanceZEReset

  • added attribute drivenTimeZEReset (from Odometer)

Sensor distanceStart

  • added attribute drivenTimeStart (from Odometer)

Sensor distanceReset

  • added attribute drivenTimeReset (from Odometer)

Sensor tanklevelpercent

  • added State Class measurement

New Features

  • Attributes windowstatusrearleftblind, windowstatusrearrightblind, windowstatusfrontrightblind, windowstatusfrontleftblind added to sensor windowStatusOverall ("Windows Closed")

Non Breaking Changes (hopefully)

  • Changed underlaying websocket communication from Google Protobuf 3.2 to 4.21 - Prevent errors on fresh installations with a higher protobuf version then 3.19 (Should be backwards compatible until 3.19.1, this was the minimum version for some months already)
  • Code Cleanup

Stats

  • added ~2k lines of code and removed 14k
  • tested with HA versions 2022.11.5 and 2022.12.9 and latest DEV (with my european profile)

Potential problems

  • Your template sensors needs to be adopted in case you use the above mentioned attributes
  • some statistics needs to be fixed (see yourHA-URL/developer-tools/statistics)
  • readme not updated yet

Don't miss a new mbapi2020 release

NewReleases is sending notifications on new releases.