Browse Source

Moebot S: do not map error 0 to OK.

"OK" is not falsey, so causes side effects.

Discussion #758
Jason Rumney 2 years ago
parent
commit
6388b87532
1 changed files with 0 additions and 2 deletions
  1. 0 2
      custom_components/tuya_local/devices/moebot_s_mower.yaml

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

@@ -54,8 +54,6 @@ primary_entity:
       name: error
       type: bitfield
       mapping:
-        - dps_val: 0
-          value: OK
       # out_of_bounds, lifted, tilted, overturned, trapped, signal lost, motor fault, overheated, battery damaged
     - id: 106
       type: integer