2022-10-12 05:20:32 +00:00
|
|
|
"""Models for the Jellyfin integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
from jellyfin_apiclient_python import JellyfinClient
|
|
|
|
|
|
|
|
from .coordinator import JellyfinDataUpdateCoordinator
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class JellyfinData:
|
|
|
|
"""Data for the Jellyfin integration."""
|
|
|
|
|
2022-10-25 02:45:01 +00:00
|
|
|
client_device_id: str
|
2022-10-12 05:20:32 +00:00
|
|
|
jellyfin_client: JellyfinClient
|
|
|
|
coordinators: dict[str, JellyfinDataUpdateCoordinator]
|