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

Add support to WiFi to RF Converter - YET6956WTR-B RF (#4797)

* add YET6956WTR-B RF Converter

* feat (YET_6956WTR_rfcontroller): naming changes

- filename: follow brand_model_type convention
- device: avoid confusion with remotes, this is a scene controller type device, not an arbitrary remote control
- entities, drop "Key" from the name, the buttons can match the single letter remote buttons.

PR #4797

* fix (yet_6956wtr_rfcontroller): use only lowercase in filename

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
Luigi Ungaro 12 часов назад
Родитель
Сommit
ee5b2d4dae
1 измененных файлов с 33 добавлено и 0 удалено
  1. 33 0
      custom_components/tuya_local/devices/yet_6956wtr_rfcontroller.yaml

+ 33 - 0
custom_components/tuya_local/devices/yet_6956wtr_rfcontroller.yaml

@@ -0,0 +1,33 @@
+name: RF controller
+products:
+  - id: 0oaok27eec1f9j4u
+    manufacturer: YET
+    model: YET6956WTR-B
+entities:
+  - entity: button
+    name: A
+    dps:
+      - id: 101
+        name: button
+        type: boolean
+
+  - entity: button
+    name: B
+    dps:
+      - id: 102
+        name: button
+        type: boolean
+
+  - entity: button
+    name: C
+    dps:
+      - id: 103
+        name: button
+        type: boolean
+
+  - entity: button
+    name: D
+    dps:
+      - id: 104
+        name: button
+        type: boolean