Move unit system to util (#2763)
This commit is contained in:
1 parent
640a8b5a7f
commit
0b7b0e54ba
18 files changed
+35
-56
No files matched your search
@@ -1,7 +1,7 @@
|
||||
"""The tests for the demo hvac."""
|
||||
import unittest
|
||||
|
||||
from homeassistant.helpers.unit_system import (
|
||||
from homeassistant.util.unit_system import (
|
||||
METRIC_SYSTEM,
|
||||
)
|
||||
from homeassistant.components import hvac
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""The tests for the demo thermostat."""
|
||||
import unittest
|
||||
|
||||
from homeassistant.helpers.unit_system import (
|
||||
from homeassistant.util.unit_system import (
|
||||
METRIC_SYSTEM,
|
||||
)
|
||||
from homeassistant.components import thermostat
|
||||
|
||||
@@ -13,7 +13,7 @@ from homeassistant.const import (
|
||||
STATE_OFF,
|
||||
TEMP_CELSIUS,
|
||||
)
|
||||
from homeassistant.helpers.unit_system import METRIC_SYSTEM
|
||||
from homeassistant.util.unit_system import METRIC_SYSTEM
|
||||
from homeassistant.components import thermostat
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
Reference in new issue
Block a user