Open vp-lab opened 1 year ago
You should be able to set the precision with the menu you show on the top right in the print screen. Isn’t your entity displayed with that precision? What kind of card do you use to display you sensor on your Home Screen?
I tried to set the precision like 10 times and nothing happend.
It's mushroom template card.
It also appear in the developer tools - states - filter entities You can see in the previous screenshot down there where I filter the entity.
The mushroom template card should respect the precision setting, however, there is an issue here where someone says it isn’t. https://github.com/piitaya/lovelace-mushroom/issues/1057
can you check that a normal entity card does respect the precision property? If so, I would say that this is a bug in the mushroom template card.
It's fine on the default entity card hassio and mushroom. (1) - it's the default lovelace entities card (fine) (2) - mushroom entity card (fine) (3) - mushroom template card (wrong)
But I have 2 more questions:
Why on the Developer Tools - States - Search that sensor, it appears with 2 digits or more?
I have NodeRed connected to my HA and all the automations are done in NodeRed. But when I receive a notification about that temperature sensor it's like screenshot below. NodeRed reads all the data from HomeAssistant but that temperature sensor isn't right with all that decimals.
I think there's a problem with the addon too.
Tell me if I can send you more logs to solve this bug.
In BLE Monitor 12.0.0, we changed the way we handle rounding. According to this post on the developer part of the Home Assistant site we have to remove rounding from BLE monitor and let HA take care of it.
The Developer Tools - States is showing the full precision, without any rounding. As we do some averaging in BLE monitor (we take the mean of all values in one minute), there is a large change that you get a lot of digits. The frontend should take care of the rounding to display it to you, but the actual value is as it is, without any rounding. That is why node red is also showing a lot of digits.
If you really don't want these large number of digits, you can use median
in stead of mean
in BLE monitor. Or you could use a template sensor.
Have same trouble with default plant card. Rounding in entity settings do nothing
You will have to report this at the developer of the card and ask him/her to use the display precision of HA
Have same problem, tons of digits. I miss the decimals
settings of Passive BLE monitor. Precision settings of HA only for view but the DB should keep all this pointless digits :(
Maybe you will consider to return decimals
settings, disabled by default to respect for HA recommendations?
BTW It's still exists in documentation
What happened?
I have all the sensors configured in configuration.yaml and now in the home page I get something like, 23.74534536°C
Please see the screenshot.
I don't see anything wrong in logs. What I need to send you more? I tried to enable debug change precision but I can't see something.
Sensor type
LYWSD03MMC
Relevant log output