home-assistant / home-assistant/android
Entity State widget still sometimes ignores precision setting
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Home Assistant Android app version(s):** 2024.9.4-full
**Android version(s):** 14
**Device model(s):** Pixel 8 Pro
**Home Assistant version:** 2024.9.3
**Last working Home Assistant release (if known):** Unknown
**Description of problem, include YAML if issue is related to notifications:**
I previously reported https://github.com/home-assistant/android/issues/3397 which was supposedly fixed in https://github.com/home-assistant/android/pull/3625. After https://github.com/home-assistant/android/pull/3625 was merged, the problem was mostly fixed, and the entity state respects the configured display precision _most of the time_. However, sometimes, it is still showing too many digits of precision. I can't find any pattern as to when this occurs but I notice it occasionally.
In the below screenshots, I have a sensor entity configured to use 1 decimal place of precision. However, sometimes the widget shows 2 decimal places.
**Companion App Logs:**
The issue is intermittent and I haven't been able to capture logs but I can attempt to, if needed.
**Screenshot or video of problem:**
## Entity more info page:

## Entity State widget:

## Entity settings:

## Widget settings:

**Additional information:**
Contributor guide
Assessment
This issue has not been assessed yet.