pyvesync: VeSyncHumid200300S.set_display has no effect on Classic 200S humidifier
I’m working on a Home Assistant PR to add support for the Classic 300S humidifiers (https://github.com/home-assistant/core/pull/62907), and I’m adding the Classic 200S now that there’s a new pyvesync release. Almost everything for the 200S works fine, but the display light toggle does not. Invoking set_display has no effect on the 200S humidifier, and details["display"] is always False for the Classic 200S. Everything for the 300S works just fine. Perhaps the 200S has a separate API for its display toggle since it just has a single light, whereas the 300S has a more detailed display?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 30 (30 by maintainers)
I’m fixing this in the latest release, should be out in a couple of days.
On Wed, Feb 16, 2022 at 9:34 AM Nicolas Mowen @.***> wrote:
I’m testing @webdjoe’s
air-refactorbranch in #121 and from what I can see,set_displayis working correctly for my Classic 200S, and updates are occurring in both the VeSync app and physically on the humidifier itself.Testing notes:
By replacing
setDisplaywithsetIndicatorLightSwitch,{ 'state': mode }with{ 'enabled': mode, 'id': 0 }, anddisplaywithindicator_light_switch, I was able to control the display on my humidifier and get the display status (of course the simple replacements break the 300S; this was just a test).