pyvesync: Core 200s - can't switch from sleep to previous speed

Hi, I’m currently looking at the issue described in https://github.com/home-assistant/core/issues/70420, would you be able to help with it?

What happens is that, if I set the fan speed to 33% (or 1 in your library), enable the preset mode sleep, and then switch back the speed to 33%, nothing happens. The only way is to turn the fan off, turn it on (which puts the speed at 66%) and then lower it to 33%.

I tried to do some debugging of your library and home-assistant/core, and so far I found that:

  • In home-assistant/core, the call to manual_mode returns false, because the fan doesn’t have that mode, while the change_fan_speed returns true.
  • The change_fan_speed returns true but no API call from the library is logged. My guess is that the execution is terminated earlier here because the preset change has no effect on the speed field.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

You got it, released and tagged!

My apologies, just the lack of time, uploaded to pypi version 2.1.0!