21 lines
544 B
Python
21 lines
544 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 homeassistant.helpers.update_coordinator import DataUpdateCoordinator
|
|
|
|
|
|
@dataclass
|
|
class LookinData:
|
|
"""Data for the lookin integration."""
|
|
|
|
lookin_udp_subs: LookinUDPSubscriptions
|
|
lookin_device: Device
|
|
meteo_coordinator: DataUpdateCoordinator
|
|
devices: list[dict[str, Any]]
|
|
lookin_protocol: LookInHttpProtocol
|