add set ID for RTD
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import enum
|
||||
from typing import Optional
|
||||
import struct
|
||||
|
||||
@ -36,6 +37,10 @@ class CommandId:
|
||||
WRITE_CONFIG = 6
|
||||
|
||||
|
||||
class SetId(enum.IntEnum):
|
||||
TEMPERATURE = 1
|
||||
|
||||
|
||||
class OpCode:
|
||||
ON = ["0", "on"]
|
||||
OFF = ["1", "off"]
|
||||
|
Reference in New Issue
Block a user