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 Xiaomi Zero Fog Humidifier (shuii.humidifier.jsq001) support (#52) #55

Merged
merged 7 commits into from
Oct 18, 2020

Conversation

iromeo
Copy link
Contributor

@iromeo iromeo commented Mar 28, 2020

Xiaomi Zero Fog Humidifier (shuii.humidifier.jsq001) support (#52).

This pull request depends on my changes to python-miio library (see rytilahti/python-miio#642) which will be available in the next library update

@iromeo
Copy link
Contributor Author

iromeo commented Mar 31, 2020

My changes already available in python-miio 0.5.0.1, so this pull request is ready for review

@iromeo
Copy link
Contributor Author

iromeo commented Apr 5, 2020

@syssi Hi, I'd like to get some feedback on PR and what steps are required to merge it and included into next release. Could you take a look on it?

@iromeo
Copy link
Contributor Author

iromeo commented Apr 6, 2020

Slightly updated version send as PR to HA directly (home-assistant/core#33736).

@syssi
Copy link
Owner

syssi commented May 19, 2020

Thanks for your PR! Sorry for the late feedback. I wasn't aware of your PR right now. I will provide a code review asap!

@iromeo
Copy link
Contributor Author

iromeo commented May 19, 2020

@syssi I've sent a rather refactored version of this PR to home-assistant/core#33736 but they want somebody to re-implement everything and do not use 'fan' platform for humidifiers any more. At the moment I'm just using my fork of your project to have a working HACS component for this device.

@syssi
Copy link
Owner

syssi commented May 19, 2020

I would like to merge your feature here for the meantime. Could you fix the conflict?

@iromeo
Copy link
Contributor Author

iromeo commented May 20, 2020

Please wait a bit with merging this, I'd like to compare this version with my fork and HA pull request, probably this version is a bit out of date. I'll have some time to do it at the weekend.

@syssi syssi marked this pull request as draft May 20, 2020 18:33
@syssi
Copy link
Owner

syssi commented May 20, 2020

Alright! I marked your pull request as draft now. Just click "ready for review" if you're done.

@syssi
Copy link
Owner

syssi commented Jul 19, 2020

Ping! :-)

@iromeo
Copy link
Contributor Author

iromeo commented Aug 13, 2020

Hi, I was on vacation recently, I'll take a look at this at the end of the month.

@syssi syssi marked this pull request as ready for review October 18, 2020 12:43
def led_brightness(self):
"""Return the current brightness."""
if self._state:
return AirhumidifierJsqLedBrightness(self._state_attrs[ATTR_LED_BRIGHTNESS]).name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.
line too long (93 > 79 characters)
undefined name 'AirhumidifierJsqLedBrightness'

@syssi syssi merged commit 44602b7 into syssi:develop Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants