Jelajahi Sumber

Kesser infrared heater floodlights: naming changes

No need to name switches "Power". Also the name "floodlight" on the light is evading the translations without providing valuable information, since there is only one light.

Due to the simplicity of this config, matching with other similar devices is likely, so also removed specifics from top level name.
Jason Rumney 1 tahun lalu
induk
melakukan
4e4e966af9

+ 1 - 4
custom_components/tuya_local/devices/kesser_infrared_heater_floodlights.yaml

@@ -1,10 +1,9 @@
-name: Infrared heater floodlights
+name: Heater with light
 products:
 products:
   - id: trsas9jlfgcbxhq9
   - id: trsas9jlfgcbxhq9
     name: Kesser 3000W Floodlights
     name: Kesser 3000W Floodlights
 primary_entity:
 primary_entity:
   entity: switch
   entity: switch
-  name: Power
   icon: "mdi:radiator"
   icon: "mdi:radiator"
   dps:
   dps:
     - id: 1
     - id: 1
@@ -28,8 +27,6 @@ secondary_entities:
           - dps_val: "F3"
           - dps_val: "F3"
             value: "3000W"
             value: "3000W"
   - entity: light
   - entity: light
-    name: floodlight
-    icon: "mdi:lightbulb"
     dps:
     dps:
       - id: 10
       - id: 10
         type: boolean
         type: boolean