Move onvif base entity to separate module (#126128)

This commit is contained in:
epenet 2024-09-18 11:26:52 +02:00 committed by GitHub
parent cf389681f6
commit 63929a1177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 5 additions and 5 deletions

View File

@ -14,9 +14,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.restore_state import RestoreEntity from homeassistant.helpers.restore_state import RestoreEntity
from homeassistant.util.enum import try_parse_enum from homeassistant.util.enum import try_parse_enum
from .base import ONVIFBaseEntity
from .const import DOMAIN from .const import DOMAIN
from .device import ONVIFDevice from .device import ONVIFDevice
from .entity import ONVIFBaseEntity
async def async_setup_entry( async def async_setup_entry(

View File

@ -6,9 +6,9 @@ from homeassistant.const import EntityCategory
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .base import ONVIFBaseEntity
from .const import DOMAIN from .const import DOMAIN
from .device import ONVIFDevice from .device import ONVIFDevice
from .entity import ONVIFBaseEntity
async def async_setup_entry( async def async_setup_entry(

View File

@ -24,7 +24,6 @@ from homeassistant.helpers import config_validation as cv, entity_platform
from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .base import ONVIFBaseEntity
from .const import ( from .const import (
ABSOLUTE_MOVE, ABSOLUTE_MOVE,
ATTR_CONTINUOUS_DURATION, ATTR_CONTINUOUS_DURATION,
@ -51,6 +50,7 @@ from .const import (
ZOOM_OUT, ZOOM_OUT,
) )
from .device import ONVIFDevice from .device import ONVIFDevice
from .entity import ONVIFBaseEntity
from .models import Profile from .models import Profile

View File

@ -13,9 +13,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import StateType from homeassistant.helpers.typing import StateType
from homeassistant.util.enum import try_parse_enum from homeassistant.util.enum import try_parse_enum
from .base import ONVIFBaseEntity
from .const import DOMAIN from .const import DOMAIN
from .device import ONVIFDevice from .device import ONVIFDevice
from .entity import ONVIFBaseEntity
async def async_setup_entry( async def async_setup_entry(

View File

@ -11,9 +11,9 @@ from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .base import ONVIFBaseEntity
from .const import DOMAIN from .const import DOMAIN
from .device import ONVIFDevice from .device import ONVIFDevice
from .entity import ONVIFBaseEntity
from .models import Profile from .models import Profile