move icon battery function from util to helpers (#9708)
This commit is contained in:
1 parent
c7226ec28f
commit
b83059c828
9 files changed
+15
-21
No files matched your search
@@ -22,7 +22,7 @@ import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.config_validation import PLATFORM_SCHEMA # noqa
|
||||
from homeassistant.helpers.entity_component import EntityComponent
|
||||
from homeassistant.helpers.entity import ToggleEntity
|
||||
from homeassistant.util.icon import icon_for_battery_level
|
||||
from homeassistant.helpers.icon import icon_for_battery_level
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ from homeassistant.components.vacuum import (SUPPORT_BATTERY,
|
||||
SUPPORT_STATUS, SUPPORT_STOP,
|
||||
SUPPORT_TURN_OFF, SUPPORT_TURN_ON,
|
||||
VacuumDevice)
|
||||
from homeassistant.util.icon import icon_for_battery_level
|
||||
from homeassistant.helpers.icon import icon_for_battery_level
|
||||
|
||||
ATTR_FULL_CLEAN_TYPE = "full_clean_type"
|
||||
ATTR_CLEAN_ID = "clean_id"
|
||||
|
||||
@@ -18,7 +18,7 @@ from homeassistant.components.vacuum import (
|
||||
VacuumDevice)
|
||||
from homeassistant.const import ATTR_SUPPORTED_FEATURES, CONF_NAME
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.util.icon import icon_for_battery_level
|
||||
from homeassistant.helpers.icon import icon_for_battery_level
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in new issue
Block a user