Bläddra i källkod

Add config for Remora Pool Heatpump

This is a relatively simple device, and if we ignore that some of the presets
should change the HVAC mode to cool rather than heat, it should be able to
work with the new generic climate class.

Fixes #15 with info from @paulmfclark.
Jason Rumney 4 år sedan
förälder
incheckning
97ea4b1100
1 ändrade filer med 50 tillägg och 0 borttagningar
  1. 50 0
      custom_components/tuya_local/devices/remora_heatpump.yaml

+ 50 - 0
custom_components/tuya_local/devices/remora_heatpump.yaml

@@ -0,0 +1,50 @@
+name: Remora Pool Heatpump
+legacy_type: remora_heatpump
+primary_entity:
+  entity: climate
+  dps:
+    - id: 1
+      name: hvac_mode
+      type: boolean
+      mapping:
+        - dps_val: false
+          value: "off"
+          icon: "mdi:radiator-disabled"
+          icon_priority: 1
+        - dps_val: true
+          value: "heat"
+          icon: "mdi:hot-tub"
+          icon_priority: 3
+    - id: 2
+      name: temperature
+      type: integer
+      range:
+        min: 5
+        max: 40
+    - id: 3
+      name: current_temperature
+      type: integer
+    - id: 4
+      name: preset_mode
+      type: string
+      mapping:
+        - dps_val: "heat"
+          value: "Smart Heating"
+        - dps_val: "h_powerful"
+          value: "Powerful Heating"
+        - dps_val: "h_silent"
+          value: "Silent Heating"
+        - dps_val: "cool"
+          value: "Smart Cooling"
+        - dps_val: "c_powerful"
+          value: "Powerful Cooling"
+        - dps_val: "c_silent"
+          value: "Silent Cooling"
+    - id: 9
+      type: integer
+      name: error
+      mapping:
+        - dps_val: 0
+          value: "OK"
+        - dps_val: 1
+          value: "Water Flow Protection"