1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Remove unnecessary truthiness checks for integration.manifest (#82319)

This commit is contained in:
Aarni Koskela
2022-11-28 16:33:14 +02:00
committed by GitHub
parent f887aeedfe
commit 69d519418e
13 changed files with 6 additions and 55 deletions

View File

@@ -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", [])