ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
149 stars 29 forks source link

Cannot change atrribute value "Bar" to kPa" for Tire Pressure #141

Closed iHaveAstream closed 11 months ago

iHaveAstream commented 11 months ago

Hi,

first of all many thanks for this awesome custom integration, good job! Really like it and appreciate your efforts @ReneNulschDE!

I'm using the latest version of the integration in HA 2023.10.0. Works as it should for/with my S206, except for the values of tire pressure. In the integration they will be declared in "Bar", rather than kPa. Resulting in having a tire pressure with xxx Bar, by far too much ;)

I tried to change the attribute values of each tire pressure sensor entity from Bar to kPa and clicked "Update", however, the change will not be saved/reflected. It stays on Bar. Pls. see attached screenshot.

Thanks! Screenshot_20231006-211847_Home Assistant

toSvenson commented 11 months ago

I can confirm the issue HA 2023.10.0 and mbapi2020 0.9.4

ReneNulschDE commented 11 months ago

The unit is defined in the official Mercedes me app. Please check your settings and change it there from Bar to kPa.

MBApp: image

Result: image

However, I need to check why the value is not changing.

iHaveAstream commented 11 months ago

Hi,

yes, in the app the unit can be changed, but on the other hand, also bar will be declared with correct values: SmartSelect_20231007_083349_Mercedes me

ReneNulschDE commented 11 months ago

The correct value will be shown in the next release (give me a few minutes). Is fixed in the master branch already.

ReneNulschDE commented 11 months ago

fixed in Release v0.9.5

iHaveAstream commented 11 months ago

fixed in Release v0.9.5

Works like a charm! Many thx @ReneNulschDE 20231007_183728