mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
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
@ -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…
x
Reference in New Issue
Block a user