Skip to content
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

Add some device properties which correspond to dehumidifiers #62

Merged
merged 1 commit into from
Dec 3, 2022

Conversation

graymalkin
Copy link
Contributor

I have a "LEXENT MEVAGISSEY" dehumidifier (Amazon link), which uses a Gree-compatible controller. I found a couple of device properties which are not exposed in device.py which I've added and put appropriate accessors for. I'd like to add this so I can work on the Gree integration for home assistant and add dehumidifier support for Gree controlled dehumidifiers.

I do not know if other devices use this same protocol.

These are the properties I've added:

  • Dwet: Target humidity (read-write, appears to be 15 + 5*value)
  • DwatSen: Current humidity (read-only, integer)
  • Dfltr: Clean air filter (read-only, boolean)
  • DwatFul: Water tank full (read-only, boolean)
  • Dmod: Dehumifier mode (read-only, on mine 0 = default, 9 = anion only) Oddly it's read-only, even though the mode can be toggled on the front-panel.

 - "Dwet" Target humidity
 - "DwatSen" Current humidity
 - "Dfltr" Clean air filter
 - "DwatFul" Water tank full
 - "Dmod" Dehumidifier mode

I've also fixed the tests for these new properties
@cmroche
Copy link
Owner

cmroche commented Dec 3, 2022

LGTM.

@cmroche cmroche merged commit 0e2a084 into cmroche:master Dec 3, 2022
github-actions bot pushed a commit that referenced this pull request Dec 3, 2022
# [1.4.0](v1.3.0...v1.4.0) (2022-12-03)

### Features

* Add device properties for dehumidifiers ([#62](#62)) ([0e2a084](0e2a084))
@github-actions
Copy link

github-actions bot commented Dec 3, 2022

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants