Forgot an assignment

This commit is contained in:
Fabio Manganiello 2018-04-30 01:43:23 +02:00
parent c0ef9e2373
commit b8cba8ec0c
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class SensorMcp3008Backend(Backend):
if new_measurement:
self.bus.post(SensorDataChangeEvent(sensors=new_measurement))
self.last_measurement = measurement
time.sleep(self.poll_seconds)