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

Goldair tower fan: Use shorter general name

Save the full branded name for under the products tag, use a generic top level
name in case other brands also match, and just because shorter is better for
the name that will be the default device identifier.

Don't use all caps, it invites undue attention.
Jason Rumney 2 лет назад
Родитель
Сommit
4d77988bd0

+ 3 - 3
custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml

@@ -1,7 +1,7 @@
-name: Goldair Platinum Tower Fan with Wifi
+name: Tower fan
 products:
 products:
   - id: hgsp7xfajllkqujw
   - id: hgsp7xfajllkqujw
-    name: GOLDAIR PLATINUM TOWER FAN WITH WIFI
+    name: Goldair Platinum Tower Fan
 primary_entity:
 primary_entity:
   entity: fan
   entity: fan
   dps:
   dps:
@@ -60,4 +60,4 @@ secondary_entities:
         type: integer
         type: integer
         name: sensor
         name: sensor
         class: measurement
         class: measurement
-        unit: C
+        unit: C