basic ep800 support
This commit is contained in:
1 parent
cc42617bdb
commit
9cba466228
4 files changed
+15
-2
No files matched your search
@@ -11,9 +11,10 @@ from ..devices.ep500 import EP500
|
||||
from ..devices.ep500p import EP500P
|
||||
from ..devices.ep600 import EP600
|
||||
from ..devices.ep760 import EP760
|
||||
from ..devices.ep800 import EP800
|
||||
|
||||
DEVICE_NAME_RE = re.compile(
|
||||
r"^(AC60|AC200M|AC300|AC500|EB3A|EP500|EP500P|EP600|EP760)(\d+)$"
|
||||
r"^(AC60|AC200M|AC300|AC500|EB3A|EP500|EP500P|EP600|EP760|EP800)(\d+)$"
|
||||
)
|
||||
|
||||
|
||||
@@ -37,6 +38,8 @@ def build_device(address: str, name: str):
|
||||
return EP600(address, match[2])
|
||||
if match[1] == "EP760":
|
||||
return EP760(address, match[2])
|
||||
if match[1] == "EP800":
|
||||
return EP800(address, match[2])
|
||||
|
||||
|
||||
def get_type_by_bt_name(bt_name: str):
|
||||
|
||||
Reference in new issue
Block a user