sburke781 / hubitat

Hubitat apps and device drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change in Temperature Turns off A/C Unit

sburke781 opened this issue · comments

Reported By: @Mikkomattip on Hubitat community forum post and by @zimba during testing

Description: When I change the temperature the physical device goes off

Notes:

  • Other examples on the web where people have made use of the MELCloud API included passing a number of settings when requesting a change to the A/C Unit, not just one like I would prefer, e.g. when requesting a change to the set temperature you would still pass in the power as true and the current mode in addition to the desired set temperature value.

https://github.com/freddiemc88/Control-MELCloudDevice/blob/master/Set-MELCloudDevice.psm1
https://github.com/o0Zz/ha-melcloud/blob/master/custom_components/melcloud/climate.py

  • I suspect this not only affects requests to change the temperature, but also mode and fan mode, as seen when testing with @zimba

  • Update setTemperature command to pass in power, mode, fan mode and set temperature