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

Add support for Fanco Eco Silent Deluxe ceiling fan with light

Issue #399
Jason Rumney 3 лет назад
Родитель
Сommit
44f135312e
3 измененных файлов с 42 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 40 0
      custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -179,3 +179,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [romicaiarca](https://github.com/romicaiarca) for contributing Aleco D12 Home dehumidifier support.
 - [romicaiarca](https://github.com/romicaiarca) for contributing Aleco D12 Home dehumidifier support.
 - [spitfire](https://github.com/spitfire) for assistance supporting Gosund P1 powerstrips.
 - [spitfire](https://github.com/spitfire) for assistance supporting Gosund P1 powerstrips.
 - [berdahl](https://github.com/bergdahl) for contributing support for Stadler Eva humidifiers.
 - [berdahl](https://github.com/bergdahl) for contributing support for Stadler Eva humidifiers.
+- [dezinc57](https://github.com/dezinc57) for assistance supporting Fanco ceiling fan and light.

+ 1 - 0
DEVICES.md

@@ -97,6 +97,7 @@
 - Arlec Grid Connect smart ceiling fan (with and without light)
 - Arlec Grid Connect smart ceiling fan (with and without light)
 - Aspen ASP 200 fan
 - Aspen ASP 200 fan
 - Deta fan controller
 - Deta fan controller
+- Fanco Eco Silent Deluxe ceiling fan with LED light
 - Goldair GCPF315 fan
 - Goldair GCPF315 fan
 - Ledkia fan and light controller
 - Ledkia fan and light controller
 - Lexy F501 fan
 - Lexy F501 fan

+ 40 - 0
custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml

@@ -0,0 +1,40 @@
+name: Fanco Eco Silent Deluxe
+product:
+  - id: agyqzsfpafsvkrl9
+    name: MZ-DCFAN
+primary_entity:
+  entity: fan
+  dps:
+    - id: 1
+      name: switch
+      type: boolean
+    - id: 3
+      name: speed
+      type: integer
+      range:
+        min: 1
+        max: 6
+      mapping:
+        - scale: 0.06
+secondary_entities:
+  - entity: light
+    dps:
+      - id: 15
+        type: boolean
+        name: switch
+      - id: 16
+        name: brightness
+        type: integer
+        range:
+          min: 10
+          max: 1000
+        mapping:
+          - scale: 3.92
+      - id: 17
+        name: color_temp
+        type: integer
+        range:
+          min: 0
+          max: 1000
+        mapping:
+          - invert: true