فهرست منبع

Add support for Abalon curtain rail motor.

Issue #418
Jason Rumney 3 سال پیش
والد
کامیت
dac3f7af54
3فایلهای تغییر یافته به همراه34 افزوده شده و 0 حذف شده
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 32 0
      custom_components/tuya_local/devices/abalon_bcm700d_curtain.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -186,3 +186,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [DataGeek-AU](https://github.com/DataGeek-AU) for contributing support for Breville Easy Air purifiers.
 - [Clam58](https://github.com/Clam58) for contributing support for Ebac DJ4000 dehumidifierss.
 - [rafazundt](https://github.com/rafazundt) for assisting with support for AOFO ZLD and other 4-way+USB powerstrips, and iH001 LED controllers.
+- [robertvanroosmal](https://github.com/robertvanroosmal) for assisting with support for Abalon smart curtains.

+ 1 - 0
DEVICES.md

@@ -239,6 +239,7 @@ generic configurations known to work with multiple brands of device.
 
 - Simple garage door
 - Simple blind controller
+- Abalon BCM700D curtain motor (likely to work with other brands)
 - Avatto curtain and light switch
 - Avatto curtain switch
 - Avatto roller blinds controller

+ 32 - 0
custom_components/tuya_local/devices/abalon_bcm700d_curtain.yaml

@@ -0,0 +1,32 @@
+name: Curtain rail motor
+product:
+  - id: XS76BY5Q1uKO6gjC
+    name: Abalon BCM700D
+primary_entity:
+  entity: cover
+  dps:
+    - id: 101
+      name: position
+      type: integer
+      range:
+        min: 0
+        max: 100
+    - id: 102
+      name: control
+      type: string
+      mapping:
+        - dps_val: FZ
+          value: open
+        - dps_val: ZZ
+          value: close
+        - dps_val: STOP
+          value: stop
+secondary_entities:
+  - entity: switch
+    name: Reverse
+    category: config
+    icon: "mdi:arrow-u-down-left"
+    dps:
+      - id: 103
+        type: boolean
+        name: switch