20 lines
370 B
Python
20 lines
370 B
Python
|
"""The elkm1 integration models."""
|
||
|
from __future__ import annotations
|
||
|
|
||
|
from dataclasses import dataclass
|
||
|
from typing import Any
|
||
|
|
||
|
from elkm1_lib import Elk
|
||
|
|
||
|
|
||
|
@dataclass(slots=True)
|
||
|
class ELKM1Data:
|
||
|
"""Data for the elkm1 integration."""
|
||
|
|
||
|
elk: Elk
|
||
|
prefix: str
|
||
|
mac: str | None
|
||
|
auto_configure: bool
|
||
|
config: dict[str, Any]
|
||
|
keypads: dict[str, Any]
|