Quellcode durchsuchen

Nooie PU13: naming changes

- use translations where available
- use generic top level name with branding under products
Jason Rumney vor 1 Jahr
Ursprung
Commit
d118a50fae
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      custom_components/tuya_local/devices/nooie_pu13_smartplug.yaml

+ 5 - 5
custom_components/tuya_local/devices/nooie_pu13_smartplug.yaml

@@ -1,7 +1,7 @@
-name: Nooie PU13 SmartPlug
+name: SmartPlug
 products:
   - id: eimdzrehi6a6vixn
-    name: PU13
+    name: Nooie PU13
 primary_entity:
   entity: switch
   class: outlet
@@ -11,13 +11,13 @@ primary_entity:
       type: boolean
 secondary_entities:
   - entity: number
-    name: Countdown
+    translation_key: timer
     category: config
     dps:
       - id: 9
         type: integer
         name: value
-        unit: mins
+        unit: min
         range:
           min: 0
           max: 86400
@@ -25,7 +25,7 @@ secondary_entities:
           - scale: 60
             step: 60
   - entity: lock
-    name: "Child Lock"
+    translation_key: child_lock
     category: config
     dps:
       - id: 41