Round numbers up or down for Home Assistant Entity State
Hi there, I have a quick question regarding home assistant entity state. In home assistant I have my 3D printer set up with a few different methods of estimating time to completion for a print. These are set up nicely with Moonraker with their numbers rounded neatly, for example, '5h 57m.'
However, when creating an entity tile in Homarr, it's displaying the number as a full string! Is there any way to set the rounding on this to make it a little more reader-friendly?

Solution:Jump to solution
Hi, not at the moment, but you can round within Homeassistant. Consider posting a feature request on GitHub.
4 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
- Operating System: Ubuntu
- Exact Homarr Version: 1.27.0
- Configuration:
docker-compose
- Other relevant information: Home Assistant OS 2025.7.2, Raspberry Pi 4, Moonraker Integration 1.10.0Solution
Hi, not at the moment, but you can round within Homeassistant. Consider posting a feature request on GitHub.
Yeah I'll create a new sensor in HA and go from there. Thank you!