Browse Source

ZX-DB11 doorbell: new entity should be lart of the list

Jason Rumney 2 years ago
parent
commit
2c54699f4f
1 changed files with 14 additions and 14 deletions
  1. 14 14
      custom_components/tuya_local/devices/zx_db11_doorbell_alarm.yaml

+ 14 - 14
custom_components/tuya_local/devices/zx_db11_doorbell_alarm.yaml

@@ -266,20 +266,20 @@ secondary_entities:
             value: false
           - dps_val: false
             value: true
-  entity: binary_sensor
-  name: Ringing
-  class: sound
-  category: diagnostic
-  dps:
-    - id: 26
-      type: boolean
-      name: sensor
-      optional: true
-      persist: false
-      mapping:
-        - dps_val: null
-          value: false
-        - value: true
+  - entity: binary_sensor
+    name: Ringing
+    class: sound
+    category: diagnostic
+    dps:
+      - id: 26
+        type: boolean
+        name: sensor
+        optional: true
+        persist: false
+        mapping:
+          - dps_val: null
+            value: false
+          - value: true
   - entity: switch
     name: Doorbell notify
     icon: "mdi:bell-badge"