Просмотр исходного кода

Lefant M213: add error code for vacuum switched off.

Encountered in use: Flashing Red 5 in manual (6 beeps 3 times)

Was going to assume others in that group were lower bits starting there, but
we already have low_battery as 512, which does not fit that pattern.
Jason Rumney 3 лет назад
Родитель
Сommit
c7b058a649
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

@@ -94,6 +94,8 @@ primary_entity:
           value: low_battery
         - dps_val: 1024
           value: stuck
+        - dps_val: 262144
+          value: switched_off
     - id: 19
       type: string
       name: map_parameter