Commit 4dde065b authored by Tom Hartley's avatar Tom Hartley

Fixed spelling of Fahrenheit

Misspelling lead to no conversion calculations being done.
parent 7572da4f
import sensor
import bmpBackend
......@@ -14,7 +13,7 @@ class BMP085(sensor.Sensor):
self.valSymbol = "C"
if "unit" in data:
if data["unit"]=="F":
self.valUnit = "Farenheight"
self.valUnit = "Fahrenheit"
self.valSymbol = "F"
elif "pres" in data["measurement"].lower():
self.valName = "Pressure"
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