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
|
@ -14,10 +14,10 @@ from homeassistant.const import (
|
|||
ATTR_ICON,
|
||||
ATTR_UNIT_OF_MEASUREMENT,
|
||||
PERCENTAGE,
|
||||
EntityCategory,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import device_registry as dr, entity_registry as er
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
|
||||
|
||||
@pytest.mark.parametrize("device_fixtures", ["key-light-mini"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue