Просмотр исходного кода

feat (devices): add Ausclimate EcoSmart pedestal fan

Issue #4447
Jason Rumney 17 часов назад
Родитель
Сommit
cac9e9d294

+ 2 - 0
ACKNOWLEDGEMENTS.md

@@ -1291,3 +1291,5 @@ Further device support has been made with the assistance of users. Please consid
 - [LeeRuMax](https://github.com/LeeRuMax) for assisting with support for Avonflow AFD14-H thermostat.
 - [arayanhasgithub](https://github.com/arayanhasgithub) for contributing support for A.O. Smith HeatBot 15L water heater.
 - [jmlugo15](https://github.com/jmlugo15) for assisting with support for Qiachipceiling fan with light.
+- [sydneysider123](https://github.com/sydneysider123) for assisting with support for Ausclimate EcoSmart pedestal fan.
+

+ 1 - 0
DEVICES.md

@@ -308,6 +308,7 @@ devices # Supported
 - Aspen ASP 200 fan
 - Atomberg Gorilla fan V2
 - Atomi 52 inch ceiling fan
+- Ausclimate EcoSmart pedestal fan
 - Aygrochy ventilation duct fan
 - Aziot fan modular switch
 - BKZO ceiling fan with RGBCW light

+ 80 - 0
custom_components/tuya_local/devices/ausclimate_ecosmart_pedestalfan.yaml

@@ -0,0 +1,80 @@
+name: Pedestal fan
+products:
+  - id: smrux6jwhnrmbbyl
+    manufacturer: Ausclimate
+    model: EcoSmart Pedestal Air Circulator
+    model_id: ACAC300
+entities:
+  - entity: fan
+    translation_key: fan_with_presets
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 3
+        type: string
+        name: speed
+        range:
+          min: 1
+          max: 8
+      - id: 5
+        type: boolean
+        name: oscillate
+      - id: 102
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: sleep
+            value: sleep
+          - dps_val: natural
+            value: nature
+          - dps_val: normal
+            value: normal
+  - entity: switch
+    name: Vertical oscillation
+    icon: "mdi:pan-vertical"
+    category: config
+    dps:
+      - id: 4
+        type: boolean
+        name: switch
+  - entity: select
+    name: "On timer"
+    translation_key: timer
+    category: config
+    dps:
+      - id: 22
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "4h"
+            value: "4h"
+  - entity: select
+    translation_key: timer
+    name: "Off timer"
+    category: config
+    dps:
+      - id: 101
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1H"
+            value: "1h"
+          - dps_val: "2H"
+            value: "2h"
+          - dps_val: "4H"
+            value: "4h"
+  - entity: switch
+    name: Turbo
+    dps:
+      - id: 104
+        type: boolean
+        name: switch