core/homeassistant/components/rainmachine/model.py

10 lines
226 B
Python

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