Skip to content

target temp: Fahrenheit steps only if the celsius whole number steps #26

Open
@aa755

Description

@aa755

Describe the bug
If you change temperature from T1'F to T2'F and the two values when converted to celsius and rounded to nearest whole number are equal, the change is a nop.

To Reproduce

  1. Set temperature to 82F. The AC unit shows 28C (which is 82F converted to celsius and rounded to nearest whole number)
  2. Set temperature to 83F and note that in a few seconds, homeassistant reverts to 82F. The display on the AC never changes. 83F also corresponds to 28F. So this was a nop.
  3. Set temperature to 84F. Now the AC display changes to 29F and the change sticks in homeassistant.

Expected behavior
The change to 83F in step 2 should not be a nop. When using the nethome app, the target temperature can be set to 83F when the unit is set to fahrenheit mode.
(Also, ideally, the AC unit should show the temperature in fahrenheit as is the case when using the nethome app in fahrenheit mode.)

Screenshots / Logs
If applicable, add screenshots or your home-assistant log file to help explain your problem.

Versions

  • Home Assistant version: 0.109.6
  • Midea integration version (commit hash): e601616

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions