Selaa lähdekoodia

feat (devices): add support for Amenzo dishwasher

Issue #3935
Jason Rumney 3 kuukautta sitten
vanhempi
commit
ab551ebab3

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1115,3 +1115,4 @@ Further device support has been made with the assistance of users. Please consid
 - [dermocles9308](https://github.com/dermocles9308) for assisting with support for Tongou QCB2-100 3 phase circuit breaker.
 - [bvweerd](https://github.com/bvweerd) for contributing improvements to Fararo pet feeder.
 - [dtaylor7](https://github.com/dtaylor7) for contributing support for eTowel Mini04 plus towel rail thermostat.
+- [StrandmonYellow](https://github.com/StrandmonYellow) for assisting with support for Amenzo dishwasher.

+ 1 - 0
DEVICES.md

@@ -472,6 +472,7 @@
 
 - Aeno EK1S and EK7S kettles
 - Aeno KS1S kitchen scale
+- Amenzo dishwasher
 - Anko 1.7L smart kettle
 - BlitzHome BH-CDW1 dishwasher
 - Ciarra CBCS4850 range hood

+ 87 - 0
custom_components/tuya_local/devices/amenzo_mini_dishwasher.yaml

@@ -0,0 +1,87 @@
+name: Dishwasher
+products:
+  - id: tmmk3646acwxrsg3
+    manufacturer: Amenzo
+entities:
+  - entity: switch
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+  - entity: button
+    name: Start
+    category: config
+    dps:
+      - id: 2
+        type: boolean
+        name: button
+  - entity: button
+    name: Stop
+    category: config
+    dps:
+      - id: 3
+        type: boolean
+        name: button
+  - entity: select
+    name: Mode
+    category: config
+    dps:
+      - id: 6
+        type: string
+        optional: true
+        name: option
+        mapping:
+          - dps_val: Cold
+            value: fruit
+          - dps_val: Intensive
+            value: intensive
+          - dps_val: Quick
+            value: rapid
+          - dps_val: Eco
+            value: eco
+          - dps_val: Normal
+            value: normal
+  - entity: sensor
+    translation_key: status
+    class: enum
+    category: diagnostic
+    dps:
+      - id: 7
+        type: string
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: standby
+            value: standby
+          - dps_val: cleaning
+            value: washing
+          - dps_val: done
+            value: done
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 9
+        type: integer
+        name: sensor
+        unit: min
+        class: measurement
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 18
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: null
+            value: false
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 18
+        type: bitfield
+        optional: true
+        name: fault_code