fix: normalize reporting outputs and chart tooltips

- render last observation with local TZ label

- show zero values in report tables

- keep report JSON raw values with explicit units

- reduce chart queries per period and tag chart line paths

- remove redundant get_bat call in companion collector
This commit is contained in:
Jorijn Schrijvershof
2026-01-06 11:24:47 +01:00
parent 81b7c6897a
commit e37aef6c5e
5 changed files with 178 additions and 122 deletions

View File

@@ -74,16 +74,6 @@ async def collect_companion() -> int:
else:
log.error(f"device_query failed: {err}")
# get_bat
ok, evt_type, payload, err = await run_command(
mc, cmd.get_bat(), "get_bat"
)
if ok:
commands_succeeded += 1
log.debug(f"get_bat: {payload}")
else:
log.error(f"get_bat failed: {err}")
# get_time
ok, evt_type, payload, err = await run_command(
mc, cmd.get_time(), "get_time"