You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select Add-On (place a lowercase x for the relevant add-on)
Xiaomi Mi Scale
Describe the bug
A clear and concise description of what the bug is.
My scale is set to lbs. And the reading is properly done in lbs but the entity's unit_of_measurement is hardcoded to kg.
To Reproduce
Steps to reproduce the behaviour, including error message if any.
Set a scale to lbs and link to this plugin
Expected behaviour
A clear and concise description of what you expected to happen.
Expected unit_of_measure to be lbs
Screenshots
Scale (please complete the following information):
My Body Composition Scale
Firmware: 0.3.2
Device running Home Assistant (please complete the following information):
Rapsberri Pi 4 (built in bluetooth)
sorry I get it now. It's an issue in the discovery indeed, however you do have the weight_unit attribute which is the correct one.
Unfortunately it is not possible to template a unit of measurement in HA so it's not that relevant anyway
This is a minor aesthetic change so I probably won't create a new version just for this...
Select Add-On (place a lowercase
x
for the relevant add-on)Describe the bug
A clear and concise description of what the bug is.
My scale is set to lbs. And the reading is properly done in lbs but the entity's unit_of_measurement is hardcoded to kg.
To Reproduce
Steps to reproduce the behaviour, including error message if any.
Set a scale to lbs and link to this plugin
Expected behaviour
A clear and concise description of what you expected to happen.
Expected unit_of_measure to be lbs
Screenshots
Scale (please complete the following information):
My Body Composition Scale
Firmware: 0.3.2
Device running Home Assistant (please complete the following information):
Rapsberri Pi 4 (built in bluetooth)
Additional context
This is where kg gets hardcoded...
The text was updated successfully, but these errors were encountered: