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

Create smart_boiler.yaml

Initial implementation of Smart Boiler with the official DPs
Adrià Cereto Massagué 2 лет назад
Родитель
Сommit
8ba25d209e
1 измененных файлов с 44 добавлено и 0 удалено
  1. 44 0
      custom_components/tuya_local/devices/smart_boiler.yaml

+ 44 - 0
custom_components/tuya_local/devices/smart_boiler.yaml

@@ -0,0 +1,44 @@
+name: Smart Boiler
+products:
+  - id: atico42xjbgqgiys
+    name: Smart Boiler
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: true
+          value: "heat"
+          icon: "mdi:radiator"
+        - dps_val: false
+          value: "off"
+          icon: "mdi:radiator-disabled"
+    - id: 2
+      name: temperature
+      type: integer
+      range:
+        min: 5
+        max: 1220
+      mapping:
+        - scale: 10
+          step: 5
+    - id: 3
+      name: current_temperature
+      type: integer
+      mapping:
+        - scale: 10
+          step: 5
+      readonly: true
+
+secondary_entities:
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 6
+        type: boolean
+        name: lock
+