瀏覽代碼

Intelbras lock: make battery sensor optional

Based on comment on #1105, battery is not always reported.
Jason Rumney 2 年之前
父節點
當前提交
0b455e2d3b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/intelbras_IFR7000_lock.yaml

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

@@ -42,4 +42,5 @@ secondary_entities:
       - id: 10
         type: integer
         name: sensor
+        optional: true
         unit: "%"