Apply suggestions from code review of branch camera-metadata

This commit is contained in:
Joe Knapper 2025-10-22 09:43:56 +00:00 committed by Julian Stirling
parent c2d8160ff4
commit 4f0d4536ab

View file

@ -491,7 +491,7 @@ class BaseCamera(lt.Thing):
def _capture_metadata( def _capture_metadata(
self, self,
metadata: dict, metadata: dict,
) -> None: ) -> dict:
"""Return the metadata for a capture, from the thing states, time and known names.""" """Return the metadata for a capture, from the thing states, time and known names."""
return { return {
"capture_time": datetime.now().timestamp(), "capture_time": datetime.now().timestamp(),