Преглед изворни кода

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
         type: integer
         name: sensor
+        optional: true
         unit: m2
         mapping:
           - scale: 10