Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity details graph using less accuracy as entity itself #18287

Closed
3 tasks done
fodi666 opened this issue Oct 19, 2023 · 2 comments · Fixed by #18334
Closed
3 tasks done

Entity details graph using less accuracy as entity itself #18287

fodi666 opened this issue Oct 19, 2023 · 2 comments · Fixed by #18334

Comments

@fodi666
Copy link

fodi666 commented Oct 19, 2023

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

The problem

Hi,
I have a Tilt hydrometer integrated to Home Assistant that provides the specific gravity. Specfic gravity should be between roughly 1.000 and 1.100. The entity is correctly set up to have 3 decimals of precision and reports its state accordingly. However, when I want to look back and click the entity the graph in the more info screen does not accomodate for 3 decimals, only for 2 decimals worth of precision (it does not display inbetween values between let's say 1.01 and 1.02, it just swings back and forth). Interestingly, the history page works fine with this entity and you can see the difference between the two. (They were set to display the same amount of time and screenshotted right after each other).
First image shows the properties of the entity, second one shows the more info screen and third one shows the history page of the same entity. (Photos made on my iPhone, but the same on the PC as well)
I could make a template sensor to multiply the value, but in my opinion that is not the correct approach, just a workaround.
Thanks

IMG_3832
IMG_3830
IMG_3831

What version of Home Assistant Core has the issue?

2023.10

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

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

Describe the behavior you expected

Both graphs should use all avilable decimals

Steps to reproduce the issue

Have a sensor with more decimals, where the last decimal is changing only at a time

What version of Home Assistant Core has the issue?

core-2023.10

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

@fodi666
Copy link
Author

fodi666 commented Oct 19, 2023

redirected from home-assistant/core#101515

@karwosts
Copy link
Contributor

#18312 fixes the plot to not round the datapoints. Ideally for a further enhancement still need to go back and fix the tooltip to respect the configured display precision though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants