Update import locations in tests (#122216)

This commit is contained in:
Marc Mueller 2024-07-20 11:16:04 +02:00 committed by GitHub
parent 0637e342f6
commit a6068dcdf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 131 additions and 125 deletions

View file

@ -30,12 +30,12 @@ from homeassistant.const import (
STATE_CLOSED,
STATE_ON,
STATE_UNKNOWN,
EntityCategory,
)
from homeassistant.core import DOMAIN as HASS_DOMAIN, Context, HomeAssistant, callback
from homeassistant.helpers import (
area_registry as ar,
device_registry as dr,
entity,
entity_registry as er,
floor_registry as fr,
intent,
@ -79,8 +79,8 @@ async def init_components(hass: HomeAssistant) -> None:
[
{"hidden_by": er.RegistryEntryHider.USER},
{"hidden_by": er.RegistryEntryHider.INTEGRATION},
{"entity_category": entity.EntityCategory.CONFIG},
{"entity_category": entity.EntityCategory.DIAGNOSTIC},
{"entity_category": EntityCategory.CONFIG},
{"entity_category": EntityCategory.DIAGNOSTIC},
],
)
@pytest.mark.usefixtures("init_components")