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:
Paulus Schoutsen authored and GitHub committed 2019-06-07 22:59:51 -07:00
1 parent b30f4b8fc0
commit 0dc0706eb2
14 files changed
+118 -19

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ def generate_and_validate(integrations: Dict[str, Integration]):
try:
with open(str(integration.path / "config_flow.py")) as fp:
content = fp.read()
if (' async_step_ssdp(' not in content and
if (' async_step_ssdp' not in content and
'register_discovery_flow' not in content):
integration.add_error(
'ssdp', 'Config flow has no async_step_ssdp')