瀏覽代碼

Fix detection of NAC AP470 Air Purifier

mariusz.witek 2 年之前
父節點
當前提交
93c0b6fd8b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      custom_components/tuya_local/devices/nac_ap470_purifier.yaml

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

@@ -113,6 +113,7 @@ secondary_entities:
       - id: 19
         name: option
         type: string
+        optional: true
         mapping:
           - dps_val: cancle
             value: "Off"
@@ -133,3 +134,4 @@ secondary_entities:
         type: integer
         name: sensor
         unit: "min"
+        optional: true