Przeglądaj źródła

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 lat temu
rodzic
commit
6fa792bdf5

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

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

+ 1 - 1
tests/const.py

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