소스 검색

Lefant vacuum: add additional error code

Observed the error code 1024, with the robot_status attribute saying "Robot Mode:ESCAPE" when the robot got itself into a corner it couldn't get out of.
Most likely there are also codes for 128, 256 and 512 as well.
Jason Rumney 3 년 전
부모
커밋
51a838be63
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      custom_components/tuya_local/devices/lefant_m213_vacuum.yaml

+ 2 - 0
custom_components/tuya_local/devices/lefant_m213_vacuum.yaml

@@ -88,6 +88,8 @@ primary_entity:
           value: land_check
           value: land_check
         - dps_val: 64
         - dps_val: 64
           value: collision
           value: collision
+        - dps_val: 1024
+          value: stuck
     - id: 19
     - id: 19
       type: string
       type: string
       name: map_parameter
       name: map_parameter