Move unit system to util (#2763)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2016-08-08 20:42:25 -07:00
1 parent 640a8b5a7f
commit 0b7b0e54ba
18 files changed
+35 -56

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ import homeassistant.core as ha
from homeassistant.exceptions import (
HomeAssistantError, InvalidEntityFormatError)
import homeassistant.util.dt as dt_util
from homeassistant.helpers.unit_system import (METRIC_SYSTEM)
from homeassistant.util.unit_system import (METRIC_SYSTEM)
from homeassistant.const import (
__version__, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP,
EVENT_STATE_CHANGED, ATTR_FRIENDLY_NAME, CONF_UNIT_SYSTEM)