Closed DavidFW1960 closed 1 year ago
Not sure if that's all, but according to https://developers.home-assistant.io/blog/2023/02/08/sensor_presentation_rounding/ and a little guess :smile: , replacing all native_precision
with suggested_display_precision
in sensor.py fixes this for me.
EDIT: Values are not rounded anymore, so that's only a partial solution. :cry: Some custom cards (here custom:secondaryinfo-entity-row) can't deal with it.
Thanks. Seems to have temporarily fixed it for me
I changed it and it still doesnt work
I changed it and it still doesnt work
Then you didn't do it right
I changed it and it still doesnt work
Only the lower case ones?
There are 7 in sensor.py
That did the job
Also tried it, but I cant figure it out. changed all the native_precision lowercase to the suggested above. Should this have done the job?