core/homeassistant/components/elkm1/models.py

20 lines
370 B
Python
Raw Normal View History

"""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]