sburke781 / hubitat

Hubitat apps and device drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing Mode Also Changes The Set Temperature

sburke781 opened this issue · comments

Identified By: @mikkomattip on Hubitat Community Forum post

Description: When I change the mode (I have only tried from heat to cool), it changes the temperature to 10 celsius on MelCloud app and I believe that is the exact temperature.

Notes: The suspicion is that this is related to issue #10 (changing the set temperature turning the A/C unit off), in that it is expected more details need to be passed to the MelCloud API as part of each command. Another possibility is a conflict in attribute and method parameter names of "temperature".

  • Change any "temperature" method parameters to be called "givenTemp" or "givenSetTemp"
  • Update heat, dry, cool, fan and auto methods to include the power, fan mode and temperature as part of the API call

For consistency with the above changes, also:

  • Update setTemperature method to include the power, mode, temperature and fan mode as part of the API call
  • Update method setThermostatFanMode to include power, mode and temperature as part of the API call