Browse Source

AGL Ultramagic: follow naming convention

PR #1004
Jason Rumney 2 years ago
parent
commit
b3b8cbcc1d
1 changed files with 8 additions and 15 deletions
  1. 8 15
      custom_components/tuya_local/devices/agl_ultramagic_lock.yaml

+ 8 - 15
custom_components/tuya_local/devices/agl_ultramagic_lock.yaml

@@ -1,7 +1,7 @@
-name: AGL Ultra Magic Lock
+name: Gate lock
 products:
 products:
   - id: xrqkoapmq1rwjvms
   - id: xrqkoapmq1rwjvms
-    name: Ultra Magic
+    name: AGL Ultra Magic
 primary_entity:
 primary_entity:
   entity: cover
   entity: cover
   class: gate
   class: gate
@@ -32,7 +32,6 @@ secondary_entities:
       - id: 103
       - id: 103
         name: option
         name: option
         type: string
         type: string
-
         mapping:
         mapping:
           - dps_val: Silensioso
           - dps_val: Silensioso
             value: Mute
             value: Mute
@@ -44,40 +43,36 @@ secondary_entities:
             value: High
             value: High
   - entity: switch
   - entity: switch
     category: config
     category: config
-    name: Allow Intercom Unlock
+    name: Allow intercom unlock
     icon: "mdi:doorbell"
     icon: "mdi:doorbell"
     dps:
     dps:
       - id: 105
       - id: 105
         name: switch
         name: switch
         type: boolean
         type: boolean
-
   - entity: switch
   - entity: switch
     category: config
     category: config
-    name: Allow Inside Button Unlock
+    name: Allow inside button unlock
     icon: "mdi:gesture-tap-button"
     icon: "mdi:gesture-tap-button"
     dps:
     dps:
       - id: 104
       - id: 104
         name: switch
         name: switch
         type: boolean
         type: boolean
-
   - entity: switch
   - entity: switch
     category: config
     category: config
-    name: Allow IC Card Unlock
+    name: Allow IC card unlock
     icon: "mdi:nfc-variant"
     icon: "mdi:nfc-variant"
     dps:
     dps:
       - id: 109
       - id: 109
         name: switch
         name: switch
         type: boolean
         type: boolean
-
   - entity: switch
   - entity: switch
     category: config
     category: config
-    name: Enable Interlock
+    name: Enable interlock
     icon: "mdi:lock-pattern"
     icon: "mdi:lock-pattern"
     dps:
     dps:
       - id: 108
       - id: 108
         name: switch
         name: switch
         type: boolean
         type: boolean
-
   - entity: switch
   - entity: switch
     category: config
     category: config
     name: Auto lock after closed
     name: Auto lock after closed
@@ -86,7 +81,6 @@ secondary_entities:
       - id: 107
       - id: 107
         name: switch
         name: switch
         type: boolean
         type: boolean
-
   - entity: number
   - entity: number
     category: config
     category: config
     name: Lock timeout
     name: Lock timeout
@@ -95,7 +89,6 @@ secondary_entities:
       - id: 102
       - id: 102
         name: value
         name: value
         type: integer
         type: integer
-
         range:
         range:
           min: 1
           min: 1
           max: 5
           max: 5
@@ -103,7 +96,7 @@ secondary_entities:
   - entity: number
   - entity: number
     category: config
     category: config
     icon: "mdi:clock-end"
     icon: "mdi:clock-end"
-    name: Auto Lock timeout
+    name: Auto lock timeout
     dps:
     dps:
       - id: 115
       - id: 115
         name: value
         name: value
@@ -115,7 +108,7 @@ secondary_entities:
   - entity: number
   - entity: number
     category: config
     category: config
     icon: "mdi:alarm"
     icon: "mdi:alarm"
-    name: Open Alarm time
+    name: Open alarm time
     mode: box
     mode: box
     dps:
     dps:
       - id: 106
       - id: 106