Correct celcius to celsius (#1860)
This commit is contained in:
parent
9090672146
commit
2e79e9d5bb
43 changed files with 128 additions and 109 deletions
|
@ -10,7 +10,7 @@ import homeassistant.util.dt as date_util
|
|||
from homeassistant.const import (
|
||||
STATE_ON, STATE_OFF, DEVICE_DEFAULT_NAME, EVENT_TIME_CHANGED,
|
||||
EVENT_STATE_CHANGED, EVENT_PLATFORM_DISCOVERED, ATTR_SERVICE,
|
||||
ATTR_DISCOVERED, SERVER_PORT, TEMP_CELCIUS)
|
||||
ATTR_DISCOVERED, SERVER_PORT, TEMP_CELSIUS)
|
||||
from homeassistant.components import sun, mqtt
|
||||
|
||||
_TEST_INSTANCE_PORT = SERVER_PORT
|
||||
|
@ -36,7 +36,7 @@ def get_test_home_assistant(num_threads=None):
|
|||
hass.config.latitude = 32.87336
|
||||
hass.config.longitude = -117.22743
|
||||
hass.config.time_zone = date_util.get_time_zone('US/Pacific')
|
||||
hass.config.temperature_unit = TEMP_CELCIUS
|
||||
hass.config.temperature_unit = TEMP_CELSIUS
|
||||
|
||||
if 'custom_components.test' not in loader.AVAILABLE_COMPONENTS:
|
||||
loader.prepare(hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue