소스 검색

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 년 전
부모
커밋
4d77988bd0
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      custom_components/tuya_local/devices/goldair_platinum_tower_fan_with_wifi.yaml

+ 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:
   - id: hgsp7xfajllkqujw
-    name: GOLDAIR PLATINUM TOWER FAN WITH WIFI
+    name: Goldair Platinum Tower Fan
 primary_entity:
   entity: fan
   dps:
@@ -60,4 +60,4 @@ secondary_entities:
         type: integer
         name: sensor
         class: measurement
-        unit: C
+        unit: C