Commit 167c36e0 authored by rjlanc's avatar rjlanc


Fahrenheit typo
parent ba1ab57e
import sensor
import dhtreader
import time
......@@ -17,7 +16,7 @@ class DHT22(sensor.Sensor):
self.valSymbol = "C"
if "unit" in data:
if data["unit"]=="F":
self.valUnit = "Farenheight"
self.valUnit = "Fahrenheit"
self.valSymbol = "F"
elif "h" in data["measurement"].lower():
self.valName = "Relative_Humidity"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment