Просмотр исходного кода

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 год назад
Родитель
Сommit
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:
   - id: trsas9jlfgcbxhq9
     name: Kesser 3000W Floodlights
 primary_entity:
   entity: switch
-  name: Power
   icon: "mdi:radiator"
   dps:
     - id: 1
@@ -28,8 +27,6 @@ secondary_entities:
           - dps_val: "F3"
             value: "3000W"
   - entity: light
-    name: floodlight
-    icon: "mdi:lightbulb"
     dps:
       - id: 10
         type: boolean