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

Support next generation of the Xiaomi Mi Smart Plug (chuangmi.plug.hmi205) #19071

Conversation

syssi
Copy link
Member

@syssi syssi commented Dec 6, 2018

@syssi syssi requested a review from rytilahti as a code owner December 6, 2018 19:23
@ghost ghost assigned syssi Dec 6, 2018
@ghost ghost added in progress and removed platform: switch.xiaomi_miio small-pr PRs with less than 30 lines. labels Dec 6, 2018
@@ -146,7 +147,7 @@
device = XiaomiPowerStripSwitch(name, plug, model, unique_id)
devices.append(device)
hass.data[DATA_KEY][host] = device
elif model in ['chuangmi.plug.m1', 'chuangmi.plug.v2']:
elif model in ['chuangmi.plug.m1', 'chuangmi.plug.v2', 'chuangmi.plug.hmi205']:

Choose a reason for hiding this comment

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

line too long (83 > 79 characters)

@syssi syssi changed the title Add next generation of the Xiaomi Mi Smart Plug (chuangmi.plug.hmi205) Support next generation of the Xiaomi Mi Smart Plug (chuangmi.plug.hmi205) Dec 6, 2018
@rytilahti
Copy link
Member

LGTM!

@rytilahti rytilahti merged commit 65c2a25 into home-assistant:dev Dec 7, 2018
@ghost ghost removed the in progress label Dec 7, 2018
@balloob balloob mentioned this pull request Jan 10, 2019
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.

4 participants