Преглед изворни кода

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",
 }