Sfoglia il codice sorgente

Add support for Atomi ceramic heater

Issue #428
Jason Rumney 3 anni fa
parent
commit
ad6ac9707a

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -189,3 +189,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [robertvanroosmal](https://github.com/robertvanroosmal) for assisting with support for Abalon smart curtains.
 - [garry0garry](https://github.com/garry0garry) for assisting with support for Emax EM3378 weather station.
 - [abroeders](https://github.com/abroeders) for contributing support for a 13kW variant of W'eau pool heatpump.
+- [DrFate09](https://github.com/DrFate09) for assisting with support for Atomi ceramic heaters.

+ 1 - 0
DEVICES.md

@@ -4,6 +4,7 @@
 ### Heaters
 
 - Andersson GSH heater
+- Atomi AT1632 ceramic heater
 - Betterlife BT1500 IR heater
 - Devola patio heater
 - Ecostrad Accent iQ heating panels

+ 115 - 0
custom_components/tuya_local/devices/atomi_ceramic_heater.yaml

@@ -0,0 +1,115 @@
+name: Atomi ceramic heater
+product:
+  - id: ojvja3vyqchxrfhk
+    name: AT1632
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: heat
+    - id: 2
+      type: integer
+      name: temperature
+      range:
+        min: 60
+        max: 86
+      unit: F
+    - id: 3
+      type: integer
+      name: current_temperature
+    - id: 4
+      type: string
+      name: preset_mode
+      mapping:
+        - dps_val: auto
+          value: Eco
+        - dps_val: low
+          value: Low
+        - dps_val: high
+          value: High
+    - id: 8
+      type: boolean
+      name: swing
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: horizontal
+secondary_entities:
+  - entity: light
+    name: Display
+    category: config
+    dps:
+      - id: 10
+        type: boolean
+        name: switch
+  - entity: select
+    name: Timer
+    icon: "mdi:timer"
+    category: config
+    dps:
+      - id: 11
+        type: string
+        name: option
+        mapping:
+          - dps_val: "0h"
+            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"
+  - entity: sensor
+    name: Timer remain
+    icon: "mdi:timer"
+    category: diagnostic
+    dps:
+      - id: 12
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    name: Overheat protection
+    class: problem
+    icon: "mdi:fire-alert"
+    category: diagnostic
+    dps:
+      - id: 102
+        type: boolean
+        name: sensor
+  - entity: binary_sensor
+    name: Tip over protection
+    class: problem
+    icon: "mdi:debug-step-over"
+    category: diagnostic
+    dps:
+      - id: 103
+        type: boolean
+        name: sensor
+
+