Add more HomeKit models for discovery (#24391)
* Add more HomeKit models for discovery * Discover Tradfri with HomeKit * Add Wemo device info * Allow full match for HomeKit model * Fix tests
This commit is contained in:
1 parent
b30f4b8fc0
commit
0dc0706eb2
14 files changed
+118
-19
No files matched your search
@@ -112,7 +112,7 @@ def handle_homekit(hass, info) -> bool:
|
||||
return False
|
||||
|
||||
for test_model in HOMEKIT:
|
||||
if not model.startswith(test_model):
|
||||
if model != test_model and not model.startswith(test_model + " "):
|
||||
continue
|
||||
|
||||
hass.add_job(
|
||||
|
||||
Reference in new issue
Block a user