瀏覽代碼

fix (clofte_duo_400_humidifier): make some dps optional

Issue #4428
Jason Rumney 1 周之前
父節點
當前提交
73c29b4b1b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      custom_components/tuya_local/devices/clofte_duo_400_humidifier.yaml

+ 2 - 0
custom_components/tuya_local/devices/clofte_duo_400_humidifier.yaml

@@ -41,6 +41,7 @@ entities:
     dps:
       - id: 2
         type: integer
+        optional: true
         name: sensor
         unit: ugm3
   - entity: sensor
@@ -62,6 +63,7 @@ entities:
     dps:
       - id: 11
         type: boolean
+        optional: true
         name: button
   - entity: sensor
     translation_key: filter_life