Fixed
- mypy CI on strict-typed modules.
BatteryHistory.recenthad a baretupletype annotation (no parameters), anddevice_battery_routes.indexdid(names.get(i, i)).lower()whendisplay_namecould beNone. Both flagged by mypy --strict on the v0.51.0 push. The strict-typecheck only runs on a handful of load-bearing modules and isn't part of the local pre-push hook, so it slipped past.
No behaviour change beyond satisfying the typecheck.
Full Changelog: v0.51.0...v0.51.1