Narrow down the list of LIFX models for HomeKit discovery (#70125)

* Narrow down the list of LIFX models for HomeKit discovery

This allows the LIFX Switch to be integrated using the HomeKit
Controller component. I also adjusted the zeroconf test so that
the partial match still matches the lifx integration.

Signed-off-by: Avi Miller <me@dje.li>

* Update tests/components/zeroconf/test_init.py

Co-authored-by: J. Nick Koston <nick@koston.org>
pull/70200/head
Avi Miller 2022-04-17 06:08:44 +10:00 committed by GitHub
parent f0b1d35562
commit 42e0bc849c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 2 deletions

View File

@ -5,7 +5,21 @@
"documentation": "https://www.home-assistant.io/integrations/lifx",
"requirements": ["aiolifx==0.7.1", "aiolifx_effects==0.2.2"],
"homekit": {
"models": ["LIFX"]
"models": [
"LIFX A19",
"LIFX Beam",
"LIFX BR30",
"LIFX Candle",
"LIFX Clean",
"LIFX Color",
"LIFX Dlight",
"LIFX Filament",
"LIFX GU10",
"LIFX Mini",
"LIFX Nightvision",
"LIFX White",
"LIFX Z"
]
},
"codeowners": [],
"iot_class": "local_polling",

View File

@ -398,7 +398,19 @@ HOMEKIT = {
"EB-*": "ecobee",
"Healty Home Coach": "netatmo",
"Iota": "abode",
"LIFX": "lifx",
"LIFX A19": "lifx",
"LIFX BR30": "lifx",
"LIFX Beam": "lifx",
"LIFX Candle": "lifx",
"LIFX Clean": "lifx",
"LIFX Color": "lifx",
"LIFX Dlight": "lifx",
"LIFX Filament": "lifx",
"LIFX GU10": "lifx",
"LIFX Mini": "lifx",
"LIFX Nightvision": "lifx",
"LIFX White": "lifx",
"LIFX Z": "lifx",
"MYQ": "myq",
"NL29": "nanoleaf",
"NL42": "nanoleaf",