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

Lefant M213: rename dps 106 and 108.

Further observation of these shows they are more general than charge and
battery status.  During operation, they seem to indicate the adapter voltage
and speeds of wheels, brushes and fan respectively, so renamed to dock_info
and robot_info instead.
Jason Rumney 4 лет назад
Родитель
Сommit
e1b5327106
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/lefant_m213_vacuum.yaml

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

@@ -109,11 +109,11 @@ primary_entity:
       name: unknown_104
     - id: 106
       type: string
-      name: charge_status
+      name: dock_info
       optional: true
     - id: 108
       type: string
-      name: battery_status
+      name: robot_info
       optional: true
 secondary_entities:
   - entity: sensor