Extract entity base classes into a new module for Synology DSM (#69796)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Michael 2022-04-24 10:26:34 +02:00 committed by GitHub
parent 009111151d
commit 781f18e0c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 145 additions and 141 deletions

View file

@ -21,15 +21,15 @@ from homeassistant.helpers.entity import DeviceInfo
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from . import SynoApi, SynologyDSMBaseEntity
from . import SynoApi
from .const import (
CONF_SNAPSHOT_QUALITY,
COORDINATOR_CAMERAS,
DEFAULT_SNAPSHOT_QUALITY,
DOMAIN,
SYNO_API,
SynologyDSMEntityDescription,
)
from .entity import SynologyDSMBaseEntity, SynologyDSMEntityDescription
_LOGGER = logging.getLogger(__name__)