소스 검색

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