Ludy87 / xplora_watch

Xplora® Watch Home Assistant Integration
MIT License
47 stars 6 forks source link

Change devica class of steps counter #244

Closed Jopand closed 10 months ago

Jopand commented 11 months ago

Is your feature request related to a problem? Please describe.

Right now the steps sensor is an enum. This will not show historical. Alues in a graph, bit in a hardly readable enum state multicolored bar. By removing the device class and adding a unit of measurement, it will be shown nicely in a graph.

Replacing the device_class line with the following seems to work: native_unit_of_measurement="steps",

Describe the feature you want

Additional context

No response

github-actions[bot] commented 11 months ago

:wave: @Jopand, your proposal will be considered. Please have some patience. This action was performed automatically.

Ludy87 commented 10 months ago

@Jopand check my preview version: https://github.com/Ludy87/xplora_watch/pull/253#issue-1868547742