diff --git a/services/components.py b/services/components.py index c752d613af..bbb9194dfc 100644 --- a/services/components.py +++ b/services/components.py @@ -116,5 +116,5 @@ def measurements(self): @cached_property def last_uploaded(self): - if len(self.raw_measurements) > 1: + if len(self.raw_measurements) > 0: return self.raw_measurements[-1]["timestamp_bin"]