瀏覽代碼

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 年之前
父節點
當前提交
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