Add xiaomi_miio chuangmi.plug.hmi206 (#28688)
Related: https://github.com/rytilahti/python-miio/issues/574
This commit is contained in:
parent
aea7c1c0ce
commit
b6c7976477
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||
"chuangmi.plug.v2",
|
||||
"chuangmi.plug.v3",
|
||||
"chuangmi.plug.hmi205",
|
||||
"chuangmi.plug.hmi206",
|
||||
"lumi.acpartner.v3",
|
||||
]
|
||||
),
|
||||
|
@ -158,6 +159,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
"chuangmi.plug.m3",
|
||||
"chuangmi.plug.v2",
|
||||
"chuangmi.plug.hmi205",
|
||||
"chuangmi.plug.hmi206",
|
||||
]:
|
||||
plug = ChuangmiPlug(host, token, model=model)
|
||||
device = XiaomiPlugGenericSwitch(name, plug, model, unique_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue