Explorar el Código

Swap target temperature and current temperature for Kogan heater

Initial analysis of the heater values was wrong.
This makes it more similar to the Goldstar heater, which makes sense.
Jason Rumney hace 5 años
padre
commit
493b100758
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      custom_components/goldair_climate/kogan_heater/climate.py

+ 4 - 4
custom_components/goldair_climate/kogan_heater/climate.py

@@ -2,8 +2,8 @@
 Kogan WiFi Heater device.
 
 dps:
-  2 = current temperature (integer)
-  3 = target temperature (integer)
+  2 = target temperature (integer)
+  3 = current temperature (integer)
   4 = preset_mode (string Low/High)
   6 = timer state (boolean) [not supported - use HA based timers]
   7 = hvac_mode (boolean)
@@ -28,8 +28,8 @@ PRESET_HIGH = 'HIGH'
 
 PROPERTY_TO_DPS_ID = {
     ATTR_HVAC_MODE: '7',
-    ATTR_TARGET_TEMPERATURE: '3',
-    ATTR_TEMPERATURE: '2',
+    ATTR_TARGET_TEMPERATURE: '2',
+    ATTR_TEMPERATURE: '3',
     ATTR_PRESET_MODE: '4',
 }