22 lines
591 B
Python
22 lines
591 B
Python
"""The synology_dsm integration models."""
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from .common import SynoApi
|
|
from .coordinator import (
|
|
SynologyDSMCameraUpdateCoordinator,
|
|
SynologyDSMCentralUpdateCoordinator,
|
|
SynologyDSMSwitchUpdateCoordinator,
|
|
)
|
|
|
|
|
|
@dataclass
|
|
class SynologyDSMData:
|
|
"""Data for the synology_dsm integration."""
|
|
|
|
api: SynoApi
|
|
coordinator_central: SynologyDSMCentralUpdateCoordinator
|
|
coordinator_cameras: SynologyDSMCameraUpdateCoordinator | None
|
|
coordinator_switches: SynologyDSMSwitchUpdateCoordinator | None
|