فهرست منبع

Add support for Nedis ZBRC10WT remote control

Issue #1867
Jason Rumney 1 سال پیش
والد
کامیت
016480eb38
3فایلهای تغییر یافته به همراه77 افزوده شده و 0 حذف شده
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 75 0
      custom_components/tuya_local/devices/nedis_zbrc10wt_remotecontrol.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -609,3 +609,4 @@ Further device support has been made with the assistance of users. Please consid
 - [FreemanJD](https://github.com/FreemanJD) for assisting with support for SOP10 water sprinkler.
 - [FreemanJD](https://github.com/FreemanJD) for assisting with support for SOP10 water sprinkler.
 - [liquidand](https://github.com/liquidand) for assisting with support for Wolf Guard WTR alarm.
 - [liquidand](https://github.com/liquidand) for assisting with support for Wolf Guard WTR alarm.
 - [cw-cdz](https://github.com/cw-cdz) for contributing support for Heatstorm HS-1500 heater.
 - [cw-cdz](https://github.com/cw-cdz) for contributing support for Heatstorm HS-1500 heater.
+- [sveos](https://github.com/sveos) for assisting with support for Nedis ZBRC10WT remote contol.

+ 1 - 0
DEVICES.md

@@ -795,6 +795,7 @@ entity types as sub devices.
 - Moes RGBCW lightbulb
 - Moes RGBCW lightbulb
 - Moes ZHT-002 thermostat
 - Moes ZHT-002 thermostat
 - MultiIR MIR-TE100-TY temperature and humidity sensor
 - MultiIR MIR-TE100-TY temperature and humidity sensor
+- Nedis ZBRC10WT 4 button remote control
 - Nedis ZBSD10WT door/window sensor
 - Nedis ZBSD10WT door/window sensor
 - Nedis ZBSC10WT temperature and humidity sensor
 - Nedis ZBSC10WT temperature and humidity sensor
 - PY321-Z-TY energy meter
 - PY321-Z-TY energy meter

+ 75 - 0
custom_components/tuya_local/devices/nedis_zbrc10wt_remotecontrol.yaml

@@ -0,0 +1,75 @@
+name: Remote control
+products:
+  - id: fsiepnrh
+    name: Nedis ZBRC10WT
+primary_entity:
+  entity: event
+  name: Button 0
+  class: button
+  dps:
+    - id: 29
+      type: string
+      name: event
+      optional: true
+      mapping:
+        - dps_val: null
+          value: null
+        - value: pressed
+    - id: 29
+      type: string
+      name: code
+secondary_entity:
+  - entity: event
+    name: Button 1
+    class: button
+    dps:
+      - id: 27
+        type: string
+        name: event
+        optional: true
+        mapping:
+          - dps_val: null
+            value: null
+          - value: pressed
+      - id: 27
+        type: string
+        name: code
+  - entity: event
+    name: Button A
+    class: button
+    dps:
+      - id: 28
+        type: string
+        name: event
+        optional: true
+        mapping:
+          - dps_val: null
+            value: null
+          - value: pressed
+      - id: 28
+        type: string
+        name: code
+  - entity: event
+    name: Button B
+    class: button
+    dps:
+      - id: 26
+        type: string
+        name: event
+        optional: true
+        mapping:
+          - dps_val: null
+            value: null
+          - value: pressed
+      - id: 26
+        type: string
+        name: code
+  - entity: sensor
+    class: battery
+    category: diagnostic
+    dps:
+      - id: 3
+        type: integer
+        name: sensor
+        unit: "%"
+        class: measurement