Increase measurement time to 2 minutes from 30 seconds

This commit is contained in:
Denis-Cosmin Nutiu 2023-04-25 21:32:02 +03:00
parent 37d55a3943
commit a5b983a683

View file

@ -78,7 +78,7 @@ class Bme680Sensor(Accessory):
if self.sensor.data.heat_stable:
self._gas_resistance_metric.set(self.sensor.data.gas_resistance)
@Accessory.run_at_interval(30)
@Accessory.run_at_interval(120)
def run(self):
"""We override this method to implement what the accessory will do when it is
started.