Sfoglia il codice sorgente

GauTone alarm: naming changes

Naming convention changes and clarifications as per code review
Jason Rumney 2 anni fa
parent
commit
44bb3b58d9

+ 8 - 8
custom_components/tuya_local/devices/gautone_pg103_alarm.yaml

@@ -1,7 +1,7 @@
-name: GauTone PG-103 alarm
+name: Alarm security system
 products:
 products:
   - id: eb26b0818666ecd284o4qe
   - id: eb26b0818666ecd284o4qe
-    name: GauTone PG-103 alarm security system
+    name: GauTone PG-103
 primary_entity:
 primary_entity:
   entity: alarm_control_panel
   entity: alarm_control_panel
   dps:
   dps:
@@ -52,7 +52,7 @@ secondary_entities:
           min: 0
           min: 0
           max: 1000
           max: 1000
   - entity: number
   - entity: number
-    name: Siren Duration
+    name: Siren duration
     category: config
     category: config
     icon: "mdi:timer"
     icon: "mdi:timer"
     dps:
     dps:
@@ -64,7 +64,7 @@ secondary_entities:
           min: 0
           min: 0
           max: 1000
           max: 1000
   - entity: switch
   - entity: switch
-    name: Alarm Sound
+    name: Alarm sound
     category: config
     category: config
     dps:
     dps:
       - id: 6
       - id: 6
@@ -78,23 +78,23 @@ secondary_entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: switch
   - entity: switch
-    name: Arm Beep
+    name: Arm beep
     category: config
     category: config
     dps:
     dps:
       - id: 4
       - id: 4
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: switch
   - entity: switch
-    name: Mode App Sound
+    name: Mode notification
     category: config
     category: config
     dps:
     dps:
       - id: 10
       - id: 10
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: switch
   - entity: switch
-    name: Alarm Message propel
+    name: Alarm notification
     category: config
     category: config
     dps:
     dps:
       - id: 27
       - id: 27
         type: boolean
         type: boolean
-        name: switch
+        name: switch