瀏覽代碼

ZN373186 temp/humidity: make battery sensor optional

Battery is apparently not reeported consistently with these sensors.

Issue #1636
Jason Rumney 2 年之前
父節點
當前提交
539a7da4f7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/zigbee_zn373186_temphumid_sensor.yaml

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

@@ -31,5 +31,6 @@ secondary_entities:
       - id: 4
         type: integer
         name: sensor
+        optional: true
         unit: "%"
         class: measurement