Narrow the list of models of LIFX devices discovered using HomeKit ()

This allows the LIFX Switch to be discovered by the HomeKit Controller
integration instead of being captured by the LIFX integration which
doesn't support switches.

Signed-off-by: Avi Miller <me@dje.li>
This commit is contained in:
Avi Miller 2022-04-15 07:44:37 +10:00 committed by GitHub
parent c920d7d5e0
commit 2b908bd542
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 2 deletions
homeassistant
components/lifx
generated

View file

@ -5,7 +5,21 @@
"documentation": "https://www.home-assistant.io/integrations/lifx", "documentation": "https://www.home-assistant.io/integrations/lifx",
"requirements": ["aiolifx==0.7.1", "aiolifx_effects==0.2.2"], "requirements": ["aiolifx==0.7.1", "aiolifx_effects==0.2.2"],
"homekit": { "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": [], "codeowners": [],
"iot_class": "local_polling", "iot_class": "local_polling",

View file

@ -398,7 +398,19 @@ HOMEKIT = {
"EB-*": "ecobee", "EB-*": "ecobee",
"Healty Home Coach": "netatmo", "Healty Home Coach": "netatmo",
"Iota": "abode", "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", "MYQ": "myq",
"NL29": "nanoleaf", "NL29": "nanoleaf",
"NL42": "nanoleaf", "NL42": "nanoleaf",