ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
142 stars 27 forks source link

shouldn't odometer sensor have state_class total_increasing instead of measurement? #224

Closed thomasdelaet closed 1 month ago

thomasdelaet commented 2 months ago

The problem

odometer currently has measurement state_class which makes it impossible to generate useful statistics-graphs. Shouldn't this be total_increasing instead?

What version of MBAPI2020 do use?

v0.13.0

What was the last working version of MBAPI2020?

No response

What type of installation are you running?

Home Assistant Core

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

ReneNulschDE commented 2 months ago

Thx, yes, this makes sense. Feel free to create a PR. The setting is in the const.py. I'm on vacation with limited access right now.

thomasdelaet commented 2 months ago

pull request created: https://github.com/ReneNulschDE/mbapi2020/pull/225