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:
parent
b30f4b8fc0
commit
0dc0706eb2
14 changed files with 118 additions and 19 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue