Przeglądaj źródła

Add support for Wandai (Easybaby) GS-801 infant formula maker

Issue #2793
Jason Rumney 1 rok temu
rodzic
commit
65e7631570

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -831,3 +831,4 @@ Further device support has been made with the assistance of users. Please consid
 - [yaro24](https://github.com/yaro24) for contributing support for Jiahong ET-44W thermostat.
 - [point2start](https://github.com/point2start) for assisting with support for Atorch AT4PTW thermostat.
 - [maLLoud86](https://github.com/maLLoud86) for assisting with support for iSparkle Curtain Micro Lights.
+- [josvink66](https://github.com/josvink66) for assisting with support for Easybaby GS-801 infant formula maker.

+ 1 - 0
DEVICES.md

@@ -442,6 +442,7 @@
 - Silvercrest coffee maker
 - Silvercrest HF-6602T air fryer
 - Ultenic K10 air fryer
+- Wandai GS-801 infant formula maker (sold as Easybaby, Gustino)
 - Weekett smart kettle
 
 ### Smart Meter/Circuit Breaker

+ 90 - 0
custom_components/tuya_local/devices/easybaby_gs801_milkmaker.yaml

@@ -0,0 +1,90 @@
+name: Milk maker
+products:
+  - id: angbuf5wfbu1fnz0
+    manufacturer: Wandai
+    model: GS-801
+entities:
+  - entity: select
+    name: Mode
+    icon: "mdi:baby-bottle"
+    category: config
+    dps:
+      - id: 8
+        type: boolean
+        name: option
+        mapping:
+          - dps_val: true
+            value: Water
+          - dps_val: false
+            value: Formula
+  - entity: switch
+    name: Disinfection
+    icon: "mdi:kettle-steam"
+    category: config
+    dps:
+      - id: 9
+        type: boolean
+        name: switch
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 17
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 17
+        type: bitfield
+        name: fault_code
+  - entity: number
+    name: Water amount
+    category: config
+    class: volume_storage
+    dps:
+      - id: 101
+        type: integer
+        name: value
+        unit: mL
+        range:
+          min: 30
+          max: 240
+        mapping:
+          - step: 10
+  - entity: climate
+    icon: "mdi:baby-bottle"
+    dps:
+      - id: 104
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: false
+            value: "off"
+          - dps_val: true
+            value: heat
+      - id: 103
+        type: integer
+        name: temperature
+        unit: C
+        range:
+          min: 40
+          max: 70
+      - id: 106
+        type: integer
+        name: current_temperature
+  - entity: number
+    name: Formula ratio
+    category: config
+    icon: "mdi:shaker"
+    dps:
+      - id: 105
+        type: integer
+        name: value
+        unit: g/30mL
+        range:
+          min: 30
+          max: 80
+        mapping:
+          - scale: 10