19 lines
442 B
Python
19 lines
442 B
Python
|
"""The lutron_caseta integration models."""
|
||
|
from __future__ import annotations
|
||
|
|
||
|
from dataclasses import dataclass
|
||
|
from typing import Any
|
||
|
|
||
|
from pylutron_caseta.smartbridge import Smartbridge
|
||
|
|
||
|
from homeassistant.helpers.device_registry import DeviceEntry
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class LutronCasetaData:
|
||
|
"""Data for the lutron_caseta integration."""
|
||
|
|
||
|
bridge: Smartbridge
|
||
|
bridge_device: dict[str, Any]
|
||
|
button_devices: dict[str, DeviceEntry]
|