haco/haco/switch.py
2025-11-24 10:10:41 +00:00

17 lines
300 B
Python

from dataclasses import dataclass
from haco.control import Control
@dataclass(kw_only=True)
class Switch(Control):
DATA = dict(
platform='switch'
)
def command(self, value):
raise NotImplementedError()
def state(self, value):
raise NotImplementedError()