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
|
@ -6,11 +6,10 @@ import pytest
|
|||
|
||||
from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS
|
||||
from homeassistant.components.elgato.const import DOMAIN
|
||||
from homeassistant.const import ATTR_ENTITY_ID, ATTR_ICON, STATE_UNKNOWN
|
||||
from homeassistant.const import ATTR_ENTITY_ID, ATTR_ICON, STATE_UNKNOWN, EntityCategory
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers import device_registry as dr, entity_registry as er
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
|
||||
|
||||
@pytest.mark.freeze_time("2021-11-13 11:48:00")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue