diff --git a/homeassistant/components/cast/const.py b/homeassistant/components/cast/const.py index c57b686143d..056ee054d1d 100644 --- a/homeassistant/components/cast/const.py +++ b/homeassistant/components/cast/const.py @@ -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 diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index aefab869955..d32278ba8f0 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -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 diff --git a/homeassistant/components/cloud/const.py b/homeassistant/components/cloud/const.py index 1ee7392eccf..2c58dd57340 100644 --- a/homeassistant/components/cloud/const.py +++ b/homeassistant/components/cloud/const.py @@ -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" diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index 2045b6bb06b..b4c919fcb79 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -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 diff --git a/tests/common.py b/tests/common.py index a7d4cf6b83a..54b0193091d 100644 --- a/tests/common.py +++ b/tests/common.py @@ -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