Quellcode durchsuchen

Summary: feat(hunterpacific_6speed_fanlight): add compatible Fanelite Manihi

Includes backlight switch (included as optional)

PR #5172 by @PoppyPop
Jason Rumney vor 2 Tagen
Ursprung
Commit
5f9509c605

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -815,3 +815,4 @@ Further device support has been made with the assistance of users. Please consid
 - [ernbale](https://github.com/ernbale) for contributing improvements to Solar Inverter GTB Series.
 - [Zuz666](https://github.com/Zuz666) for contributing improvements to icons.
 - [itsiv](https://github.com/itsiv) for contributing support for Foxgard fingerprint lock, which was merged with Primebras Athenas lock.
+- [PoppyPop](https://github.com/PoppyPop) for contributing support for Fanelite Manihi ceiling fan, merged with Hunter Pacific 6 speed fan light.

+ 20 - 0
custom_components/tuya_local/devices/hunterpacific_6speed_fanlight.yaml

@@ -3,6 +3,9 @@ products:
   - id: 8tai0lslpwgaexzv
     manufacturer: Hunter Pacific
     model: "6 speed"
+  - id: ftqsaibnb3insvp9
+    manufacturer: Fanelite
+    model: Manihi
 entities:
   - entity: fan
     dps:
@@ -61,3 +64,20 @@ entities:
         range:
           min: 0
           max: 540
+  - entity: light
+    translation_key: backlight
+    category: config
+    hidden: unavailable
+    dps:
+      - id: 101
+        type: boolean
+        optional: true
+        name: switch
+      - id: 101
+        type: boolean
+        optional: true
+        name: available
+        mapping:
+          - dps_val: null
+            value: false
+          - value: true