Correct celcius to celsius (#1860)
This commit is contained in:
parent
9090672146
commit
2e79e9d5bb
43 changed files with 128 additions and 109 deletions
|
@ -8,7 +8,7 @@ import logging
|
|||
from binascii import hexlify
|
||||
|
||||
from homeassistant.components import zigbee
|
||||
from homeassistant.const import TEMP_CELCIUS
|
||||
from homeassistant.const import TEMP_CELSIUS
|
||||
from homeassistant.core import JobPriority
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
|
@ -59,7 +59,7 @@ class ZigBeeTemperatureSensor(Entity):
|
|||
@property
|
||||
def unit_of_measurement(self):
|
||||
"""Unit the value is expressed in."""
|
||||
return TEMP_CELCIUS
|
||||
return TEMP_CELSIUS
|
||||
|
||||
def update(self, *args):
|
||||
"""Get the latest data."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue