core/homeassistant/components/rainmachine/model.py

17 lines
355 B
Python
Raw Normal View History

"""Define RainMachine data models."""
from dataclasses import dataclass
@dataclass
class RainMachineDescriptionMixinApiCategory:
"""Define an entity description mixin for binary and regular sensors."""
api_category: str
@dataclass
class RainMachineDescriptionMixinUid:
"""Define an entity description mixin for switches."""
uid: int