26 lines
391 B
Python
26 lines
391 B
Python
"""The baf integration models."""
|
|
from __future__ import annotations
|
|
|
|
import asyncio
|
|
from dataclasses import dataclass
|
|
|
|
from aiobafi6 import Device
|
|
|
|
|
|
@dataclass
|
|
class BAFData:
|
|
"""Data for the baf integration."""
|
|
|
|
device: Device
|
|
run_future: asyncio.Future
|
|
|
|
|
|
@dataclass
|
|
class BAFDiscovery:
|
|
"""A BAF Discovery."""
|
|
|
|
ip_address: str
|
|
name: str
|
|
uuid: str
|
|
model: str
|