소스 검색

feat(devices): add support for Moes single outlet water timer

Issue #3639
Jason Rumney 5 달 전
부모
커밋
190d1cd374
3개의 변경된 파일56개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 54 0
      custom_components/tuya_local/devices/moes_single_watertimer.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1040,3 +1040,4 @@ Further device support has been made with the assistance of users. Please consid
 - [ashabala](https://github.com/ashabala) for contributing support for Goldair GGK1000 kettle.
 - [Wakinyan](https://github.com/Wakinyan) for contributing support for Steinback Silent Mini pool heat pump.
 - [angus-thompson](https://github.com/angus-thompson) for assisting with support for Advwin 6L camera pet feeder.
+- [aleks31031992](https://github.com/aleks31031992) for assisting with support for Moes single outlet water timer.

+ 1 - 0
DEVICES.md

@@ -1037,6 +1037,7 @@ port and password.
 - ME201W level sensor
 - Mirabella Genio motion sensor
 - Moes human presence sensor
+- Moes single outlet water timer
 - Momcozy white noise machine (2 variants)
 - Mustool MT15/MT29 air quality box
 - Nedis WIFIPD10WT pill dispenser

+ 54 - 0
custom_components/tuya_local/devices/moes_single_watertimer.yaml

@@ -0,0 +1,54 @@
+name: Water timer
+products:
+  - id: 7wptjnujjkf1gzm1
+    manufacturer: Moes
+entities:
+  - entity: select
+    name: Mode
+    icon: "mdi:sprinkler"
+    category: config
+    dps:
+      - id: 2
+        type: string
+        name: option
+        mapping:
+          - dps_val: auto
+            value: Auto
+          - dps_val: manual
+            value: Manual
+  - entity: number
+    name: Watering time
+    class: duration
+    category: config
+    icon: "mdi:timer"
+    dps:
+      - id: 56
+        type: integer
+        name: value
+        unit: s
+        range:
+          min: 0
+          max: 600
+  - entity: number
+    name: Watering interval
+    class: duration
+    category: config
+    icon: "mdi:clock"
+    dps:
+      - id: 101
+        type: integer
+        name: value
+        unit: h
+        range:
+          min: 1
+          max: 360
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 102
+        type: integer
+        name: sensor
+        unit: h
+        class: measurement