Răsfoiți Sursa

LEDvance panel: rename LED entities

- Primary LED name removed, as it is the default light for the device.
- Secondary LED renamed to backlight (via translations)

PR #2728
Jason Rumney 1 an în urmă
părinte
comite
92ed1bfdea

+ 1 - 2
custom_components/tuya_local/devices/ledvance_smart_plabl100x25b.yaml

@@ -6,7 +6,6 @@ products:
     model_id: BL100x25B
     model_id: BL100x25B
 entities:
 entities:
   - entity: light
   - entity: light
-    name: Primary LED
     dps:
     dps:
       - id: 20
       - id: 20
         type: boolean
         type: boolean
@@ -34,7 +33,7 @@ entities:
               min: 2700
               min: 2700
               max: 6500
               max: 6500
   - entity: light
   - entity: light
-    name: Secondary LED
+    translation_key: backlight
     dps:
     dps:
       - id: 20
       - id: 20
         type: boolean
         type: boolean