Commit 7572da4f authored by Tom Hartley's avatar Tom Hartley

Merge pull request #8 from rjlanc/patch-1

Fix typo in
parents ba1ab57e 167c36e0
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