Kill celcius with fire, replacing it with celsius, finally finishing what #1860 started (#2679)

This commit is contained in:
Robbie Trencheny authored and Paulus Schoutsen committed 2016-07-31 12:18:40 -07:00
1 parent a93195610a
commit 63ba5044b3
6 files changed
+12 -31

No files matched your search

@@ -109,7 +109,7 @@ class MoldIndicator(Entity):
# convert to celsius if necessary
if unit == TEMP_FAHRENHEIT:
return util.temperature.fahrenheit_to_celcius(temp)
return util.temperature.fahrenheit_to_celsius(temp)
elif unit == TEMP_CELSIUS:
return temp
else:
@@ -260,9 +260,9 @@ class MoldIndicator(Entity):
else:
return {
ATTR_DEWPOINT:
util.temperature.celcius_to_fahrenheit(
util.temperature.celsius_to_fahrenheit(
self._dewpoint),
ATTR_CRITICAL_TEMP:
util.temperature.celcius_to_fahrenheit(
util.temperature.celsius_to_fahrenheit(
self._crit_temp),
}