浏览代码

Update th16_temp_humidity_sensor.yaml

I have device that don't have dp9, that why I change it to optional
Pascal4Games 3 年之前
父节点
当前提交
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"