Sfoglia il codice sorgente

feat (devices): add Pro Breeze AirFlo pedestal fan

Issue #4244
Jason Rumney 3 settimane fa
parent
commit
25bbcf26eb

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1222,3 +1222,4 @@ Further device support has been made with the assistance of users. Please consid
 - [arjungopisetty](https://github.com/arjungopisetty) for contributing support for Brandon Basics towel warmer.
 - [AlexFozor](https://github.com/AlexFozor) for contributing support for Engo E901WiFi thermostat.
 - [nkaliev](https://github.com/nkaliev) for contributing support for Gidrolock Standard leak detection water valve.
+- [cm-mojo](https://github.com/cm-mojo) for assisting with support for Pro Breeze AirFlo 43" pedestal fan.

+ 1 - 0
DEVICES.md

@@ -371,6 +371,7 @@ devices # Supported
 - Princess Smart air cooler
 - Princess Smart Tower fan
 - Prism+ Oasis Pro ceiling fan with RGBCCT light
+- Pro Breeze AirFlo 43" pedestal fan
 - Reiga ceiling fans with and without light
 - Riyue Box 3 fan with light
 - Roomratv ceiling fan with light

+ 100 - 0
custom_components/tuya_local/devices/probreeze_airflo_pedestalfan.yaml

@@ -0,0 +1,100 @@
+name: Pedestal fan
+products:
+  - id: eq55l7rjcygz1rpg
+    manufacturer: Pro Breeze
+    model: AirFlow 43inch
+entities:
+  - entity: fan
+    translation_key: fan_with_presets
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 3
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: normal
+            value: normal
+          - dps_val: circle
+            value: strong
+      - id: 101
+        type: boolean
+        name: oscillate
+      - id: 102
+        type: integer
+        name: speed
+        range:
+          min: 0
+          max: 9
+      - id: 103
+        type: integer
+        name: actual_speed
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 18
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "3h"
+            value: "3h"
+          - dps_val: "4h"
+            value: "4h"
+          - dps_val: "5h"
+            value: "5h"
+          - dps_val: "6h"
+            value: "6h"
+          - dps_val: "7h"
+            value: "7h"
+          - dps_val: "8h"
+            value: "8h"
+          - dps_val: "9h"
+            value: "9h"
+  - entity: sensor
+    class: duration
+    translation_key: time_remaining
+    category: diagnostic
+    dps:
+      - id: 19
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 22
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 22
+        type: bitfield
+        name: fault_code
+  - entity: select
+    name: Vertical movement
+    icon: "mdi:fan-chevron-up"
+    category: config
+    dps:
+      - id: 124
+        type: string
+        name: option
+        mapping:
+          - dps_val: "0"
+            value: "None"
+          - dps_val: "30"
+            value: "30°"
+          - dps_val: "60"
+            value: "60°"
+          - dps_val: "135"
+            value: "135°"