Home Assistant Unofficial Reference 2024.12.1
models.py
Go to the documentation of this file.
1 """The elkm1 integration models."""
2 
3 from __future__ import annotations
4 
5 from dataclasses import dataclass
6 from typing import Any
7 
8 from elkm1_lib import Elk
9 
10 
11 @dataclass(slots=True)
12 class ELKM1Data:
13  """Data for the elkm1 integration."""
14 
15  elk: Elk
16  prefix: str
17  mac: str | None
18  auto_configure: bool
19  config: dict[str, Any]
20  keypads: dict[str, Any]