8000 Add LUH-A601S-AUSW model to to Classic300S by bmatheny · Pull Request #260 · webdjoe/pyvesync · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add LUH-A601S-AUSW model to to Classic300S #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

bmatheny
Copy link
Contributor

This change introduces a new model string for the Classic300S to support the LUH-A601S-AUSW. This is a model I purchased at Walmart.

Prior to diff:

>>> manager.debug = True
>>> manager.update()
...
2024-12-22 10:19:10,595 - DEBUG - New device list initialized
2024-12-22 10:19:10,595 - DEBUG - Unknown device named Bedroom Humidifier model LUH-A601S-AUSW
2024-12-22 10:19:10,595 - DEBUG - Error - 'VeSync' object has no attribute 'unknown'
2024-12-22 10:19:10,595 - DEBUG - LUH-A601S-AUSW device not added

With this PR:

>>> manager.debug = True
>>> manager.update()
...
>>> manager.fans[0]
DevClass: VeSyncHumid200300S,                Name:Bedroom Humidifier, Device No: None,                DevStatus: on, CID: somelongstrong
>>> manager.fans[0].details
>>> {'humidity': 40, 'mist_virtual_level': 5, 'mist_level': 2, 'mode': 'sleep', 'water_lacks': False, 'humidity_high': False, 'water_tank_lifted': False, 'display': False, 'automatic_stop_reach_target': False, 'night_light_brightness': 0}

This change introduces a new model string for the Classic300S to support the LUH-A601S-AUSW. This is a model I purchased at Walmart.
@bmatheny
Copy link
Contributor Author

I have also tested my branch against the Home Assistant integration and it works as expected.

@webdjoe
Copy link
Owner
webdjoe commented Dec 22, 2024

Thank you for the PR, I am making a release now.

@webdjoe webdjoe merged commit b1fbd9b into webdjoe:master Dec 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0