HomeAssistant-GreeClimateComponent icon indicating copy to clipboard operation
HomeAssistant-GreeClimateComponent copied to clipboard

Temperature adjustment increments for instances using imperial (Fahrenheit)

Open sandersjds opened this issue 1 year ago • 1 comments

This is a followup from the issue related to the temperature display for Celsius vs Fahrenheit. If the HA instance is set to use imperial, temperature adjustments are currently a bit erratic. I just wanted to note what I've found in case someone who actually knows python is interested in working this out before I cobble together some functioning code to submit another PR.

According to the notes in the readme for gree-remote:

  • "SetTem" and "TemUn": set temperature and temperature unit
  • if TemUn = 0, SetTem is the set temperature in Celsius
  • if TemUn = 1, SetTem is the set temperature is Fahrenheit

This means:

  1. the integration will need to know if HA is sending data back in Celsius or Fahrenheit
  2. that state will need to be translated into the enum values (C = 0; F = 1)
  3. any time SetTem is used (maybe here or here) to send an updated target temperature to the device, TemUn will also need to be sent with the value derived from the HA instance config state

sandersjds avatar Jun 03 '24 21:06 sandersjds

Have you found a solution yet? I am having the same issue, but I don't have too much experience with Python.

mottihoresh avatar Jul 09 '24 05:07 mottihoresh

Closing this one. Fahrenheit has recently been implemented. Feel free to reopen if still missing.

RobHofmann avatar Jun 09 '25 14:06 RobHofmann