Update SignalType imports (#114287)
This commit is contained in:
parent
1a46158a1d
commit
1120745d4e
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
|
||||
from typing import TYPE_CHECKING, TypedDict
|
||||
|
||||
from homeassistant.helpers.dispatcher import SignalType
|
||||
from homeassistant.util.signal_type import SignalType
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .helpers import ChromecastInfo
|
||||
|
|
|
@ -27,7 +27,6 @@ from homeassistant.helpers import config_validation as cv, entityfilter
|
|||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
from homeassistant.helpers.discovery import async_load_platform
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
SignalType,
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
|
@ -35,6 +34,7 @@ from homeassistant.helpers.event import async_call_later
|
|||
from homeassistant.helpers.service import async_register_admin_service
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from homeassistant.loader import bind_hass
|
||||
from homeassistant.util.signal_type import SignalType
|
||||
|
||||
from . import account_link, http_api
|
||||
from .client import CloudClient
|
||||
|
|
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
|
||||
from typing import Any
|
||||
|
||||
from homeassistant.helpers.dispatcher import SignalType
|
||||
from homeassistant.util.signal_type import SignalType
|
||||
|
||||
DOMAIN = "cloud"
|
||||
DATA_PLATFORMS_SETUP = "cloud_platforms_setup"
|
||||
|
|
|
@ -19,7 +19,6 @@ from homeassistant.const import (
|
|||
from homeassistant.core import Event, HomeAssistant, ServiceCall, callback
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
SignalType,
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
|
@ -27,6 +26,7 @@ from homeassistant.helpers.entity import Entity
|
|||
from homeassistant.helpers.system_info import is_official_image
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from homeassistant.loader import bind_hass
|
||||
from homeassistant.util.signal_type import SignalType
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from functools import cached_property
|
||||
|
|
|
@ -76,7 +76,6 @@ from homeassistant.helpers import (
|
|||
translation,
|
||||
)
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
SignalType,
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
|
@ -95,6 +94,7 @@ from homeassistant.util.json import (
|
|||
json_loads_array,
|
||||
json_loads_object,
|
||||
)
|
||||
from homeassistant.util.signal_type import SignalType
|
||||
from homeassistant.util.unit_system import METRIC_SYSTEM
|
||||
import homeassistant.util.uuid as uuid_util
|
||||
import homeassistant.util.yaml.loader as yaml_loader
|
||||
|
|
Loading…
Reference in New Issue