diff --git a/mqtt_io/modules/sensor/pms5003.py b/mqtt_io/modules/sensor/pms5003.py index f9043175..c04542e7 100644 --- a/mqtt_io/modules/sensor/pms5003.py +++ b/mqtt_io/modules/sensor/pms5003.py @@ -47,7 +47,7 @@ def get_value(self, sens_conf: ConfigType) -> SensorValueType: Get the particulate data from the sensor """ #turn sensor off if interval between readings is >= 2 minutes - sleep_sensor = sens_conf["interval"] >= 120 + sleep_sensor = sens_conf["interval"] >= 120 if sleep_sensor: self.sensor.set_to_wakeup() time.sleep(30)