Allow specifying discovery without a config flow (#54677)

This commit is contained in:
Paulus Schoutsen 2021-08-16 07:28:26 -07:00 committed by GitHub
parent c5d88d3e2f
commit 512a474e93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 41 deletions

View file

@ -28,7 +28,7 @@ def generate_and_validate(integrations: dict[str, Integration]):
for domain in sorted(integrations):
integration = integrations[domain]
if not integration.manifest:
if not integration.manifest or not integration.config_flow:
continue
service_types = integration.manifest.get("zeroconf", [])