Browse Source

Fix detection of NAC AP470 Air Purifier

mariusz.witek 2 years ago
parent
commit
93c0b6fd8b
1 changed files with 2 additions and 0 deletions
  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
       - id: 19
         name: option
         name: option
         type: string
         type: string
+        optional: true
         mapping:
         mapping:
           - dps_val: cancle
           - dps_val: cancle
             value: "Off"
             value: "Off"
@@ -133,3 +134,4 @@ secondary_entities:
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: "min"
         unit: "min"
+        optional: true