فهرست منبع

add support for essentials Smart Home Electric Bathroom Heater

Privatecoder 1 سال پیش
والد
کامیت
6dae04ed39
1فایلهای تغییر یافته به همراه89 افزوده شده و 0 حذف شده
  1. 89 0
      custom_components/tuya_local/devices/essentials_smart_electric_heater.yml

+ 89 - 0
custom_components/tuya_local/devices/essentials_smart_electric_heater.yml

@@ -0,0 +1,89 @@
+name: Electric Bathroom Heater
+products:
+  - id: crtjvuaaipzpatlk
+    manufacturer: essentials
+    model: Smart Home Electric Bathroom Heater
+entities:
+  - entity: climate
+    translation_only_key: heater
+    dps:
+      - id: 1
+        name: hvac_mode
+        type: boolean
+        mapping:
+          - dps_val: true
+            value: "heat"
+          - dps_val: false
+            value: "off"
+      - id: 2
+        name: preset_mode
+        type: string
+        mapping:
+          - dps_val: hot
+            value: comfort
+          - dps_val: eco
+            value: eco
+          - dps_val: cold
+            value: away
+          - dps_val: auto
+            value: auto
+      - id: 16
+        name: temperature
+        type: integer
+        unit: C
+        range:
+          min: 70
+          max: 300
+        scale: 1
+        step: 5
+        mapping:
+          - scale: 10
+      - id: 24
+        name: current_temperature
+        type: integer
+        unit: C
+        range:
+          min: 0
+          max: 800
+        scale: 1
+        step: 10
+        mapping:
+          - scale: 10
+  - entity: number
+    name: Temperature correction
+    category: config
+    icon: "mdi:thermometer-check"
+    dps:
+      - id: 27
+        type: integer
+        name: value
+        unit: C
+        range:
+          min: -5
+          max: 5
+        scale: 0
+        step: 1
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 40
+        type: boolean
+        name: lock
+  - entity: select
+    name: Open window detection
+    category: config
+    dps:
+      - id: 112
+        type: string
+        name: option
+        mapping:
+          - dps_val: 0
+            value: "Off"
+            icon: "mdi:window-closed"
+          - dps_val: 60
+            value: "60 mins"
+            icon: "mdi:window-open"
+          - dps_val: 90
+            value: "90 mins"
+            icon: "mdi:window-open"