Bläddra i källkod

Orno Sigo doorbell: update naming

- Uniquify tones, and make tone names human readable
PR #2998
Jason Rumney 1 år sedan
förälder
incheckning
c7b03c4652
1 ändrade filer med 6 tillägg och 4 borttagningar
  1. 6 4
      custom_components/tuya_local/devices/orno_sigo_doorbell.yaml

+ 6 - 4
custom_components/tuya_local/devices/orno_sigo_doorbell.yaml

@@ -1,7 +1,9 @@
-name: Orno Doorbell
+name: Doorbell
 products:
 products:
   - id: anic3m16jmjo80ao
   - id: anic3m16jmjo80ao
-    model: OR-DB-MK-174
+    manufacturer: Orno
+    model: Sigo
+    model_id: OR-DB-MK-174
 entities:
 entities:
   - entity: siren
   - entity: siren
     icon: "mdi:bell"
     icon: "mdi:bell"
@@ -11,9 +13,9 @@ entities:
         name: tone
         name: tone
         mapping:
         mapping:
           - dps_val: 1
           - dps_val: 1
-            value: dingdong1
+            value: Ding Dong 1
           - dps_val: 2
           - dps_val: 2
-            value: dingdong1
+            value: Ding Dong 2
           - dps_val: 3
           - dps_val: 3
             value: Westminster Chimes
             value: Westminster Chimes
           - dps_val: 4
           - dps_val: 4