Pārlūkot izejas kodu

OTU R1O1 lock: report useful info for unlock_offline_pwd

The feedback dp expects numeric output, but this one is a string (maybe
the actual password used). Make it useful for detecting offline password use.
Jason Rumney 1 gadu atpakaļ
vecāks
revīzija
40f9c48bf7

+ 6 - 2
custom_components/tuya_local/devices/otu_r1o1_lock.yaml

@@ -127,8 +127,12 @@ primary_entity:
     - id: 67
       type: string
       optional: true
-      sensitive: true
-      name: unlock_offline_pd
+      persist: false
+      name: unlock_offline_pwd
+      mapping:
+        - dps_val: null
+          value: null
+        - value: 1
     - id: 69
       type: string
       optional: true