4
0
Эх сурвалжийг харах

Add TSI FIT device (#4207)

* Add TSI FIT device

* feat (garen_tsifit_garageopener): naming tweaks

- rename file to follow naming convention
- add manufacturer
- make top level name generic in case of other product matches

PR #4207

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
Estevão Costa 2 сар өмнө
parent
commit
7a7929c452

+ 21 - 0
custom_components/tuya_local/devices/garen_tsifit_garageopener.yaml

@@ -0,0 +1,21 @@
+name: Garage opener
+products:
+  - id: c1tdykjhzgasntuz
+    manufacturer: Garen
+    model: TSI Fit
+entities:
+  - entity: cover
+    class: garage
+    dps:
+      - id: 1
+        name: control
+        type: boolean
+        optional: true
+        mapping:
+          - dps_val: true
+            value: open
+          - dps_val: false
+            value: close
+      - id: 3
+        name: open
+        type: boolean