浏览代码

Kyvol E30 vacuum: restore optional tag to clean area dp

When PR #269 moved this to a separate sensor, the optional attribute
got removed, leading to detection issues in #338.
Jason Rumney 3 年之前
父节点
当前提交
40db1689de
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/kyvol_e30_vacuum.yaml

+ 1 - 0
custom_components/tuya_local/devices/kyvol_e30_vacuum.yaml

@@ -138,6 +138,7 @@ secondary_entities:
       - id: 16
       - id: 16
         type: integer
         type: integer
         name: sensor
         name: sensor
+        optional: true
         unit: m2
         unit: m2
         mapping:
         mapping:
           - scale: 10
           - scale: 10