small tweak

This commit is contained in:
Robin Müller 2023-02-06 20:22:36 +01:00
parent 8aec6c48a0
commit d6445d38a8
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -26,17 +26,13 @@ class OpCode(str, enum.Enum):
REPORT_ALL_MODES = "report_modes"
class PayloadMode(enum.IntEnum):
OFF = 0
class Info(str, enum.Enum):
OFF = "Off Command"
REPORT_ALL_MODES = "Report all modes"
HANDLER_LIST: Dict[str, Tuple[int, str]] = {
OpCode.OFF: (PayloadMode.OFF, Info.OFF),
OpCode.OFF: (ModeId.OFF, Info.OFF),
}