Remove unnecessary truthiness checks for integration.manifest (#82319)
This commit is contained in:
parent
f887aeedfe
commit
69d519418e
13 changed files with 6 additions and 55 deletions
|
@ -16,10 +16,6 @@ def generate_and_validate(integrations: dict[str, Integration]) -> str:
|
|||
|
||||
for domain in sorted(integrations):
|
||||
integration = integrations[domain]
|
||||
|
||||
if not integration.manifest or not integration.config_flow:
|
||||
continue
|
||||
|
||||
service_types = integration.manifest.get("zeroconf", [])
|
||||
homekit = integration.manifest.get("homekit", {})
|
||||
homekit_models = homekit.get("models", [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue