瀏覽代碼

Updated optional dps

gkwok1 1 年之前
父節點
當前提交
8166a395e5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      custom_components/tuya_local/devices/ble_pulido_p13_lock.yaml

+ 3 - 0
custom_components/tuya_local/devices/ble_pulido_p13_lock.yaml

@@ -126,6 +126,7 @@ secondary_entities:
       - id: 26
         type: string
         name: option
+        optional: true
         mapping:
           - dps_val: 5s
             value: 5s
@@ -189,6 +190,7 @@ secondary_entities:
         name: sensor
         unit: "%"
         class: measurement
+        optional: true
         mapping:
           - dps_val: high
             value: 100
@@ -206,6 +208,7 @@ secondary_entities:
       - id: 28
         type: string
         name: option
+        optional: true
         mapping:
           - dps_val: chinese_simplified
             value: 中文