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

Added support for Plikc Neve X thermostat

beltra 1 год назад
Родитель
Сommit
99181e9776
1 измененных файлов с 147 добавлено и 0 удалено
  1. 147 0
      custom_components/tuya_local/devices/plikc_neve_x_thermostat.yaml

+ 147 - 0
custom_components/tuya_local/devices/plikc_neve_x_thermostat.yaml

@@ -0,0 +1,147 @@
+name: Termostato
+products:
+  - id: 5kwgvcaqzzkzrftu
+    name: Plikc Neve X W
+primary_entity:
+  entity: climate
+  translation_key: thermostat
+  dps:
+    - id: 1
+      type: boolean
+      name: hvac_mode
+      mapping:
+        - dps_val: false
+          value: "off"
+        - dps_val: true
+          value: heat
+    - id: 2
+      type: string
+      name: preset_mode
+      mapping:
+        - dps_val: auto
+          value: home
+        - dps_val: manual
+          value: boost
+        - dps_val: temporary
+          value: boost
+          hidden: true
+        - dps_val: holiday
+          value: away
+          constraints: Durata vacanza
+          conditions:
+          - dps_val: 1
+    - id: 3
+      type: string
+      name: hvac_action
+      readonly: true
+      mapping:
+        - dps_val: heat
+          value: heating
+        - dps_val: cold
+          value: cooling
+        - dps_val: "off"
+          value: idle
+    - id: 16
+      type: integer
+      name: temperature
+      unit: C
+      range:
+        min: 50
+        max: 350
+      mapping:
+        - scale: 10
+          constraint: preset_mode
+          conditions:
+            - dps_val: holiday
+              value_redirect: holiday_temp_set
+    - id: 24
+      type: integer
+      name: current_temperature
+      mapping:
+        - scale: 10
+    - id: 32
+      type: integer
+      name: holiday_temp_set
+      optional: true
+      hidden: true
+      force: true
+      range:
+        min: 50
+        max: 350
+      mapping:
+        - scale: 10
+secondary_entities:
+  - entity: number
+    name: Calibrazione
+    mode: box
+    category: config
+    icon: "mdi:thermometer-check"
+    dps:
+      - id: 27
+        type: integer
+        name: value
+        unit: °C
+        range:
+          min: -30
+          max: 30
+        mapping:
+          - scale: 10
+            step: 1
+  - entity: number
+    name: Durata vacanza
+    mode: box
+    force: true
+    category: config
+    icon: "mdi:calendar-range"
+    dps:
+      - id: 33
+        type: integer
+        name: value
+        unit: d
+        range:
+          min: 0
+          max: 99
+  - entity: button
+    name: Factory reset
+    class: restart
+    category: config
+    dps:
+      - id: 39
+        type: boolean
+        name: button
+        optional: true
+        persist: false
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 40
+        type: boolean
+        name: lock
+        optional: true
+        mapping:
+          - dps_val: null
+            value: false
+  - entity: sensor
+    name: Tempo rimanente
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 42
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 45
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: null
+            value: false
+          - value: true