mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
23 lines
606 B
Python
23 lines
606 B
Python
"""The lookin integration models."""
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Any
|
|
|
|
from aiolookin import Device, LookInHttpProtocol, LookinUDPSubscriptions
|
|
|
|
from .coordinator import LookinDataUpdateCoordinator
|
|
|
|
|
|
@dataclass
|
|
class LookinData:
|
|
"""Data for the lookin integration."""
|
|
|
|
host: str
|
|
lookin_udp_subs: LookinUDPSubscriptions
|
|
lookin_device: Device
|
|
meteo_coordinator: LookinDataUpdateCoordinator
|
|
devices: list[dict[str, Any]]
|
|
lookin_protocol: LookInHttpProtocol
|
|
device_coordinators: dict[str, LookinDataUpdateCoordinator]
|