mirror of
https://github.com/home-assistant/core.git
synced 2026-05-28 03:06:30 +01:00
c7b5d7107f
Co-authored-by: J. Nick Koston <nick@koston.org>
17 lines
355 B
Python
17 lines
355 B
Python
"""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
|