Просмотр исходного кода

Fix detection of NAC AP470 Air Purifier

mariusz.witek 2 лет назад
Родитель
Сommit
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