style: format sensor manager polling change

This commit is contained in:
Yellowcooln
2026-06-15 19:56:10 -04:00
parent 1c186d7feb
commit 5aebb4dd24
+3 -1
View File
@@ -170,7 +170,9 @@ class SensorManager:
next_due_in = min(next_due_in, max(0.0, next_read_at[name] - now))
if updated:
readings = [latest_by_name[s.name] for s in self.sensors if s.name in latest_by_name]
readings = [
latest_by_name[s.name] for s in self.sensors if s.name in latest_by_name
]
with self._readings_lock:
self._latest_readings = readings
except Exception as exc: