Quellcode durchsuchen

add Greenmigo ALPHA-Q25 Pro WiFi Dehumidifier

Privatecoder vor 2 Jahren
Ursprung
Commit
e2f4d8acf3
1 geänderte Dateien mit 199 neuen und 0 gelöschten Zeilen
  1. 199 0
      custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml

+ 199 - 0
custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml

@@ -0,0 +1,199 @@
+name: Dehumidifier
+products:
+  - id: b9oyi2yofflroq1g
+    name: Alpha Q25 Pro WiFi Dehumidifier
+primary_entity:
+  entity: humidifier
+  class: dehumidifier
+  dps:
+    - id: 1
+      name: switch
+      type: boolean
+      mapping:
+        - dps_val: false
+          icon: "mdi:air-humidifier-off"
+          icon_priority: 1
+        - dps_val: true
+          icon: "mdi:air-humidifier"
+          icon_priority: 3
+    - id: 2
+      name: humidity
+      type: integer
+      range:
+        min: 25
+        max: 80
+      mapping:
+        - step: 5
+    - id: 5
+      name: mode
+      type: string
+      mapping:
+        - dps_val: Manual
+          value: normal
+        - dps_val: Auto
+          value: auto
+        - dps_val: Laundrydrying
+          value: laundry
+          icon: "mdi:tshirt-crew-outline"
+          icon_priority: 1
+        - dps_val: Sleeping
+          value: sleep
+        - dps_val: Purifying
+          value: purify
+          icon: "mdi:air-purifier"
+          icon_priority: 1
+    - id: 6
+      type: integer
+      name: current_humidity
+    - id: 19
+      type: bitfield
+      name: error
+      optional: true
+      mapping:
+        - dps_val: 1
+          icon: "mdi:alert-circle-outline"
+          icon_priority: 2
+        - dps_val: 2
+          icon: "mdi:alert-circle-outline"
+          icon_priority: 2
+        - dps_val: 4
+          icon: "mdi:cup-water"
+          icon_priority: 2
+        - dps_val: 8
+          icon: "mdi:snowflake-melt"
+          icon_priority: 2
+secondary_entities:
+  - entity: sensor
+    name: Status
+    class: enum
+    category: diagnostic
+    dps:
+      - id: 19
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: Ok
+            icon: "mdi:check-circle-outline"
+            icon_priority: 2
+          - dps_val: 1
+            value: E1
+            icon: "mdi:alert-circle-outline"
+            icon_priority: 2
+          - dps_val: 2
+            value: E2
+            icon: "mdi:alert-circle-outline"
+            icon_priority: 2
+          - dps_val: 4
+            value: Tank full
+            icon: "mdi:cup-water"
+            icon_priority: 2
+          - dps_val: 8
+            value: Defrost
+            icon: "mdi:snowflake-melt"
+            icon_priority: 2
+  - entity: switch
+    name: Swing
+    icon: "mdi:cached"
+    category: config
+    dps:
+      - id: 8
+        type: boolean
+        name: switch
+  - entity: switch
+    name: Ionizer
+    icon: "mdi:atom-variant"
+    category: config
+    dps:
+      - id: 10
+        type: boolean
+        name: switch
+  - entity: select
+    name: Fan (Purify / Manual only)
+    icon: "mdi:fan"
+    category: config
+    dps:
+      - id: 4
+        type: string
+        name: option
+        mapping:
+          - dps_val: high
+            value: High
+          - dps_val: low
+            value: Low
+  - entity: switch
+    name: UV
+    icon: "mdi:lightbulb-fluorescent-tube"
+    category: config
+    dps:
+      - id: 13
+        type: boolean
+        name: switch
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 16
+        type: boolean
+        name: lock
+        optional: true
+  - entity: select
+    name: Timer
+    icon: "mdi:timer"
+    category: config
+    dps:
+      - id: 17
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: "Off"
+          - dps_val: 1h
+            value: 1 hour
+          - dps_val: 2h
+            value: 2 hours
+          - dps_val: 3h
+            value: 3 hours
+          - dps_val: 4h
+            value: 4 hours
+          - dps_val: 5h
+            value: 5 hours
+          - dps_val: 6h
+            value: 6 hours
+          - dps_val: 7h
+            value: 7 hours
+          - dps_val: 8h
+            value: 8 hours
+          - dps_val: 9h
+            value: 9 hours
+          - dps_val: 10h
+            value: 10 hours
+          - dps_val: 11h
+            value: 11 hours
+          - dps_val: 12h
+            value: 12 hours
+          - dps_val: 13h
+            value: 13 hours
+          - dps_val: 14h
+            value: 14 hours
+          - dps_val: 15h
+            value: 15 hours
+          - dps_val: 16h
+            value: 16 hours
+          - dps_val: 17h
+            value: 17 hours
+          - dps_val: 18h
+            value: 18 hours
+          - dps_val: 19h
+            value: 19 hours
+          - dps_val: 20h
+            value: 20 hours
+          - dps_val: 21h
+            value: 21 hours
+          - dps_val: 22h
+            value: 22 hours
+          - dps_val: 23h
+            value: 23 hours
+          - dps_val: 24h
+            value: 24 hours