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:
@@ -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", [])
|
||||
|
||||
Reference in New Issue
Block a user