Update __init__.py

Deleted line 186 for enabling reading the humidity value of a BME280 Sensor
This commit is contained in:
Dabu5
2017-09-11 19:35:22 +02:00
committed by GitHub
parent e9103b83aa
commit f3991ed4ab

View File

@@ -183,7 +183,6 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin,
hum = 0
elif temp_reader['sensorType'] == "bme280":
temp, hum = self.readBME280Temp(temp_reader['sensorAddress'])
hum = 0
elif temp_reader['sensorType'] == "si7021":
temp, hum = self.readSI7021Temp(temp_reader['sensorAddress'])
elif temp_reader['sensorType'] == "tmp102":