Improve not implemented method warning

This commit is contained in:
Edward Brown 2025-11-24 15:19:08 +00:00
parent caa19f016d
commit 1604e2447e
2 changed files with 2 additions and 2 deletions

18
haco/select.py Normal file
View file

@ -0,0 +1,18 @@
from dataclasses import dataclass
from haco.control import Control
@dataclass(kw_only=True)
class Select(Control):
DATA = dict(
platform='select'
)
options: list[str]
def command(self, value):
raise NotImplementedError()
def state(self, value):
raise NotImplementedError()