Kaynağa Gözat

Carro fan: update naming

Fan does not need a name, it will inherit the device name
Shorten light names, "ceiling" is already in the device name.

Add docs.

Issue #930, PR #1047
Jason Rumney 2 yıl önce
ebeveyn
işleme
968ef5f3e5

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -352,3 +352,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [MaximeNagel](https://github.com/MaximeNagel) for assisting with support for ZG-205W mmWave presence sensors.
 - [MaximeNagel](https://github.com/MaximeNagel) for assisting with support for ZG-205W mmWave presence sensors.
 - [Ilyapempel](https://github.com/Ilyapempel) for assisting with support for Momland/Loycco sound machine nightlights, and Kojima motion sensor RGBCW nightlight.
 - [Ilyapempel](https://github.com/Ilyapempel) for assisting with support for Momland/Loycco sound machine nightlights, and Kojima motion sensor RGBCW nightlight.
 - [tatopotatov](https://github.com/tatopotatov) for assisting with support for Royal Sovereign mini split air conditioners.
 - [tatopotatov](https://github.com/tatopotatov) for assisting with support for Royal Sovereign mini split air conditioners.
+- [whit-tj](https://github.com/whit-tj) for contributing support for Carro ceiling fan with warm and cool lights.

+ 1 - 0
DEVICES.md

@@ -128,6 +128,7 @@
 - Arlec 6 speed floor fan
 - Arlec 6 speed floor fan
 - Aspen ASP 200 fan
 - Aspen ASP 200 fan
 - Atomi 52 inch ceiling fan
 - Atomi 52 inch ceiling fan
+- Carro ceiling fan with cool and warm white lights
 - Carro PN-04F02D fan with dimmable light
 - Carro PN-04F02D fan with dimmable light
 - Chanfok ceiling fan with cool/warm white dimmable light
 - Chanfok ceiling fan with cool/warm white dimmable light
 - Deta fan controller
 - Deta fan controller

+ 3 - 4
custom_components/tuya_local/devices/carro_smart_ceiling_fan_light.yaml

@@ -4,7 +4,6 @@ products:
     name: Carro (Qizheng) Fan Light
     name: Carro (Qizheng) Fan Light
 primary_entity:
 primary_entity:
   entity: fan
   entity: fan
-  name: Ceiling fan
   translation_key: fan_with_presets
   translation_key: fan_with_presets
   dps:
   dps:
     - id: 1
     - id: 1
@@ -47,7 +46,7 @@ primary_entity:
         max: 480
         max: 480
 secondary_entities:
 secondary_entities:
   - entity: light
   - entity: light
-    name: Warm ceiling light
+    name: Warm light
     dps:
     dps:
       - id: 9
       - id: 9
         type: boolean
         type: boolean
@@ -61,7 +60,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 3.92
           - scale: 3.92
   - entity: light
   - entity: light
-    name: White ceiling light
+    name: Daylight light
     dps:
     dps:
       - id: 101
       - id: 101
         type: boolean
         type: boolean
@@ -73,4 +72,4 @@ secondary_entities:
           min: 10
           min: 10
           max: 1000
           max: 1000
         mapping:
         mapping:
-          - scale: 3.92
+          - scale: 3.92