Keep a screen's updates going when a sensor value has too many digits to round (0.2.69)

rounded_state raised decimal.InvalidOperation for a value beyond Decimal's
28-digit context, such as 1e30; the exception escaped state_message and the
whole screen's sync stalled. Such a value now passes through unrounded.
App only, firmware stays 0.2.58. Found in a review of 0.2.67.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Max Gramser
2026-09-17 16:12:45 +02:00
parent 10540cf356
commit 45fcbdd807
4 changed files with 15 additions and 3 deletions
+7
View File
@@ -1,3 +1,10 @@
## 0.2.69 (firmware 0.2.58)
A very large sensor value no longer stops a screen's updates.
- **A screen kept getting updates.** Since 0.2.67 a sensor tile with a display precision rounds its value as Home Assistant shows it. A value with more than 28 digits, such as `1e30` from a template or counter, made that rounding fail, and the screen with that tile then got no layout or state updates at all until the value changed. Such a value now shows as it is, and the rest of the screen goes on.
- No firmware change: firmware stays 0.2.58. Includes everything from 0.2.68.
## 0.2.68 (firmware 0.2.58)
Put a new screen on from your own computer.