Browse Source

Config flow: add Smart IR as known gateway

I have one of these myself, and although I've never been able to get the
sub devices (emulated climate devices) working, it may still be useful
to recognise this as a hub in case others do work.

Discussion #1960, Issue #1956 (along with last change)
Jason Rumney 1 năm trước cách đây
mục cha
commit
f3e1f62c2f
1 tập tin đã thay đổi với 13 bổ sung12 xóa
  1. 13 12
      custom_components/tuya_local/config_flow.py

+ 13 - 12
custom_components/tuya_local/config_flow.py

@@ -55,18 +55,19 @@ from .helpers.log import log_json
 _LOGGER = logging.getLogger(__name__)
 
 HUB_CATEGORIES = [
-    "wgsxj",
-    "lyqwg",
-    "bywg",
-    "zigbee",
-    "wg2",
-    "dgnzk",
-    "videohub",
-    "xnwg",
-    "qtyycp",
-    "alexa_yywg",
-    "gywg",
-    "cnwg",
+    "wgsxj",  # Gateway camera
+    "lyqwg",  # Router
+    "bywg",  # IoT edge gateway
+    "zigbee",  # Gateway
+    "wg2",  # Gateway
+    "dgnzk",  # Multi-function controller
+    "videohub",  # Videohub
+    "xnwg",  # Virtual gateway
+    "qtyycp",  # Voice gateway composite solution
+    "alexa_yywg",  # Gateway with Alexa
+    "gywg",  # Industrial gateway
+    "cnwg",  # Energy gateway
+    "wnykq",  # Smart IR
 ]