fix(monitor): round the temperature in alerts and tidy the #408 follow-ups

This commit is contained in:
MacRimi
2026-09-29 17:10:27 +02:00
parent 57a69e1f92
commit a17f4120e3
3 changed files with 8 additions and 8 deletions
@@ -122,10 +122,9 @@ class CommandDescriptionsTests(unittest.TestCase):
"temperatureIncomplete", "temperatureUnavailableCount",
):
temporary["storage"].setdefault(key, catalog("en")["storage"][key])
# The temperature alert fallback is new English-only runtime
# text until locale migration. Seed only its four new keys
# in this disposable steady-state catalog; shipped locales
# remain unchanged and runtime fallback is tested separately.
# Every shipped locale carries the temperature alert fallback
# keys; the seed only guards a catalog that lacks them. The
# runtime fallback is tested separately.
source_fallback = catalog("en")["runtime"]["notifications"]["fallback"]
fallback = temporary["runtime"]["notifications"]["fallback"]
for key in ("temperatureAlertTitle", "temperatureAlertBody",