2021-08-25 14:36:25 +00:00
|
|
|
"""Define RainMachine data models."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
2022-04-13 20:41:48 +00:00
|
|
|
class RainMachineDescriptionMixinApiCategory:
|
2021-08-25 14:36:25 +00:00
|
|
|
"""Define an entity description mixin for binary and regular sensors."""
|
|
|
|
|
|
|
|
api_category: str
|
2022-04-13 20:41:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class RainMachineDescriptionMixinUid:
|
|
|
|
"""Define an entity description mixin for switches."""
|
|
|
|
|
|
|
|
uid: int
|