浏览代码

Lefant vacuum: remove unknown dp 106, to widen compatibility.

APOSEN A550 has the same config as Lefant m213S, but is missing dp 106 (as well as 108, which M213 has but M213S does not)

Since it is unknown, removing it should not harm functionality.

Issue #173
Jason Rumney 3 年之前
父节点
当前提交
6fa792bdf5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      custom_components/tuya_local/devices/lefant_m213_vacuum.yaml
  2. 1 1
      tests/const.py

+ 3 - 3
custom_components/tuya_local/devices/lefant_m213_vacuum.yaml

@@ -82,9 +82,9 @@ primary_entity:
     - id: 104
       type: integer
       name: unknown_104
-    - id: 106
-      type: string
-      name: unknown_106
+#    - id: 106
+#      type: string
+#      name: unknown_106
 #    - id: 108
 #      type: string
 #      name: unknown_108

+ 1 - 1
tests/const.py

@@ -996,7 +996,7 @@ LEFANT_M213_VACUUM_PAYLOAD = {
     "102": -23,
     "103": 27,
     "104": 0,
-    "106": "ChargeStage:DETSWITCGH",
+    #   "106": "ChargeStage:DETSWITCGH",
     #    "108": "BatVol:13159",
 }