mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 10:51:46 -04:00
17 lines
300 B
Python
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()
|