2021-08-25 14:36:25 +00:00
|
|
|
"""Define RainMachine data models."""
|
2024-03-08 14:05:07 +00:00
|
|
|
|
2021-08-25 14:36:25 +00:00
|
|
|
from dataclasses import dataclass
|
|
|
|
|
2022-08-03 22:23:42 +00:00
|
|
|
from homeassistant.helpers.entity import EntityDescription
|
|
|
|
|
2021-08-25 14:36:25 +00:00
|
|
|
|
2024-01-17 01:04:32 +00:00
|
|
|
@dataclass(frozen=True, kw_only=True)
|
|
|
|
class RainMachineEntityDescription(EntityDescription):
|
|
|
|
"""Describe a RainMachine entity."""
|
2021-08-25 14:36:25 +00:00
|
|
|
|
|
|
|
api_category: str
|