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

Update th16_temp_humidity_sensor.yaml

I have device that don't have dp9, that why I change it to optional
Pascal4Games 2 лет назад
Родитель
Сommit
b5320b0a8f
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml

+ 1 - 0
custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml

@@ -33,6 +33,7 @@ secondary_entities:
             value: Fahrenheit
             value: Fahrenheit
           - dps_val: "c"
           - dps_val: "c"
             value: Celsius
             value: Celsius
+        optional: true
   - entity: light
   - entity: light
     name: Display
     name: Display
     icon: "mdi:television-ambient-light"
     icon: "mdi:television-ambient-light"