Bläddra i källkod

Add support for hoenyzy valve timer

Issue #1979
Jason Rumney 1 år sedan
förälder
incheckning
64f6737fb4
3 ändrade filer med 27 tillägg och 0 borttagningar
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 25 0
      custom_components/tuya_local/devices/hoenyzy_valve_timer.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -564,3 +564,4 @@ Further device support has been made with the assistance of users. Please consid
 - [chris-garbas](https://github.com/chris-garbas) for contributing improvements to IPS pro heatpump.
 - [Nyotee](https://github.com/Nyotee) for assisting with support for Tesla AUX series air conditioner.
 - [psuet](https://github.com/psuet) for assisting with support for XCase lock boxes.
+- [Zylazy](https://github.com/Zylazy) for assisting with support for Hoenyzy valve timers.

+ 1 - 0
DEVICES.md

@@ -651,6 +651,7 @@ port and password.
 - Aubess Rainpoint TTP106W irrigation system
 - Becasmart BAF-908 irrigation system
 - Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
+- Hoenyzy DN15 / DN20 / DN25 gas and water valve timers
 - Holman WX1 tap timer (sprinkler controller)
 - Holman WX2 dual tap timer
 - Holman WX8 8 sprinkler irrigation controller

+ 25 - 0
custom_components/tuya_local/devices/hoenyzy_valve_timer.yaml

@@ -0,0 +1,25 @@
+name: Valve timer
+products:
+  - id: gbm9ata1zrzaez4a
+    name: Hoenyzi DN15/20/25
+primary_entity:
+  entity: valve
+  dps:
+    - id: 1
+      type: boolean
+      name: valve
+secondary_entities:
+  - entity: number
+    translation_key: timer
+    category: config
+    dps:
+      - id: 9
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 86400
+        mapping:
+          - scale: 60
+            step: 60