1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Correct celcius to celsius (#1860)

This commit is contained in:
Paulus Schoutsen
2016-04-19 20:30:44 -07:00
parent 9090672146
commit 2e79e9d5bb
43 changed files with 128 additions and 109 deletions

View File

@@ -8,7 +8,7 @@ at https://home-assistant.io/components/sensor.zwave/
# pylint: disable=import-error
from homeassistant.components.sensor import DOMAIN
from homeassistant.components import zwave
from homeassistant.const import (TEMP_CELCIUS, TEMP_FAHRENHEIT)
from homeassistant.const import TEMP_CELSIUS, TEMP_FAHRENHEIT
from homeassistant.helpers.entity import Entity
@@ -120,7 +120,7 @@ class ZWaveMultilevelSensor(ZWaveSensor):
unit = self._value.units
if unit == 'C':
return TEMP_CELCIUS
return TEMP_CELSIUS
elif unit == 'F':
return TEMP_FAHRENHEIT
else: