4
0
Эх сурвалжийг харах

Ion dimmer: final changes before merge

- use mixed case and more product specific details for product name
- remove explicit name from timer, as translation_key should cover it
- merge scale and step for timer into a single default mapping
Jason Rumney 1 жил өмнө
parent
commit
1d7fcae364

+ 2 - 3
custom_components/tuya_local/devices/ion_wifi_dimmer.yaml

@@ -1,7 +1,7 @@
 name: Dimmer
 products:
   - id: ceikasvm5p5ymcax
-    name: ION WIFI DIMMER
+    name: Ion LED WiFi 200W NF
 primary_entity:
   entity: light
   dps:
@@ -39,7 +39,6 @@ secondary_entities:
           max: 1000
   - entity: number
     translation_key: timer
-    name: Timer
     category: config
     dps:
       - id: 6
@@ -51,4 +50,4 @@ secondary_entities:
           max: 86400
         mapping:
           - scale: 60
-          - step: 60
+            step: 60