Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const * Fix more imports
This commit is contained in:
parent
abf0c87e40
commit
cc564026fa
456 changed files with 644 additions and 632 deletions
|
@ -3,9 +3,8 @@ from __future__ import annotations
|
|||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.components.sensor import SensorEntity
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.const import CONF_NAME, EntityCategory
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DOMAIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue