added dropdown to select device model

This commit is contained in:
Patrick762 committed 2024-02-10 13:19:16 +01:00
1 parent ebbcea3c4c
commit 3e4b8601e8
5 files changed
+49 -4

No files matched your search

+11
View File
@@ -17,6 +17,17 @@ CONF_MAX_RETRIES = "max_retries"
DATA_COORDINATOR = "coordinator"
DATA_POLLING_RUNNING = "polling_running"
SUPPORTED_MODELS = [
"AC60",
"AC200M",
"AC300",
"AC500",
"EB3A",
"EP500",
"EP500P",
"EP600",
"EP760",
]
DEVICE_NAME_RE = re.compile(r'^(AC200M|AC300|AC500|AC60|EP500P|EP500|EP600|EP760|EB3A)(\d+)$')
CONTROL_FIELDS = [