瀏覽代碼

Pulido P13 lock: rename unlock_phone to unlock_app

The integration does not recognise "unlock_phone", but since unlock_app is unused, that can be used instead.

Add space after comments to satisfy yamllint.
Jason Rumney 1 年之前
父節點
當前提交
681b62cdbd
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      custom_components/tuya_local/devices/ble_pulido_p13_lock.yaml

+ 4 - 4
custom_components/tuya_local/devices/ble_pulido_p13_lock.yaml

@@ -37,14 +37,14 @@ primary_entity:
       type: integer
       type: integer
       optional: true
       optional: true
       persist: false
       persist: false
-    - id: 47  #Lock motor state
+    - id: 47  # Lock motor state
       name: lock
       name: lock
       type: boolean
       type: boolean
       readonly: true
       readonly: true
       mapping:
       mapping:
-        - dps_val: true  #Unlocked
+        - dps_val: true  # Unlocked
           value: false
           value: false
-        - dps_val: false  #Locked
+        - dps_val: false  # Locked
           value: true
           value: true
     - id: 55
     - id: 55
       type: integer
       type: integer
@@ -53,7 +53,7 @@ primary_entity:
       persist: false
       persist: false
     - id: 62
     - id: 62
       type: integer
       type: integer
-      name: unlock_phone
+      name: unlock_app
       optional: true
       optional: true
       persist: false
       persist: false
     - id: 63
     - id: 63