2022-06-15 06:32:38 +00:00
|
|
|
"""The lutron_caseta integration models."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from typing import Any
|
|
|
|
|
|
|
|
from pylutron_caseta.smartbridge import Smartbridge
|
|
|
|
|
2022-10-12 20:29:28 +00:00
|
|
|
from homeassistant.helpers.entity import DeviceInfo
|
|
|
|
|
2022-06-15 06:32:38 +00:00
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class LutronCasetaData:
|
|
|
|
"""Data for the lutron_caseta integration."""
|
|
|
|
|
|
|
|
bridge: Smartbridge
|
|
|
|
bridge_device: dict[str, Any]
|
2022-07-04 19:10:26 +00:00
|
|
|
button_devices: dict[str, dict]
|
2022-10-12 20:29:28 +00:00
|
|
|
device_info_by_device_id: dict[int, DeviceInfo]
|