2022-02-05 15:23:19 +00:00
|
|
|
"""WiZ integration models."""
|
2023-01-07 13:52:06 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
2022-02-05 15:23:19 +00:00
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
from pywizlight import wizlight
|
|
|
|
|
|
|
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class WizData:
|
|
|
|
"""Data for the wiz integration."""
|
|
|
|
|
2023-01-07 13:52:06 +00:00
|
|
|
coordinator: DataUpdateCoordinator[float | None]
|
2022-02-05 15:23:19 +00:00
|
|
|
bulb: wizlight
|
|
|
|
scenes: list
|