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

Add support for Arlec ceiling fan/light remote control kit

Issue #806
Jason Rumney 2 лет назад
Родитель
Сommit
ebcb149815

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -295,3 +295,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [andyrak](https://github.com/andyrak) for assisting with support for Lytmi HDMI sync backlights.
 - [melvanderwal](https://github.com/melvanderwal) for assisting with support for Inkbird iBBQ-4T thermometers.
 - [ahori](https://github.com/ahori) for contributing support for CO2-Box air quality monitors.
+- [NatMan3000](https://github.com/NatMan3000) for assisting with support for Arlec Ceiling fan/light remote control kits.

+ 1 - 0
DEVICES.md

@@ -109,6 +109,7 @@
 ### Fans
 
 - Anko HEGSM40 fan
+- Arlec ceiling fan and light remote control kit (CFR225HA)
 - Arlec Grid Connect smart ceiling fan (with and without light)
 - Arlec 12 speed tower fan
 - Arlec 19 speed wall fan

+ 24 - 0
custom_components/tuya_local/devices/arlec_ceiling_fan_remote.yaml

@@ -0,0 +1,24 @@
+name: Ceiling fan remote
+products:
+  - id: b8bofb3ruee9zwxc
+    name: Arlec AC Fan Controller CFR225HA
+primary_entity:
+  entity: fan
+  dps:
+    - id: 1
+      type: boolean
+      name: switch
+    - id: 3
+      type: integer
+      name: speed
+      range:
+        min: 1
+        max: 3
+      mapping:
+        - scale: 0.03
+secondary_entities:
+  - entity: light
+    dps:
+      - id: 15
+        type: boolean
+        name: switch