mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Allow hassfest to validate specific integrations (#34277)
This commit is contained in:
@@ -120,6 +120,9 @@ def validate(integrations: Dict[str, Integration], config: Config):
|
||||
zeroconf_path = config.root / "homeassistant/generated/zeroconf.py"
|
||||
config.cache["zeroconf"] = content = generate_and_validate(integrations)
|
||||
|
||||
if config.specific_integrations:
|
||||
return
|
||||
|
||||
with open(str(zeroconf_path)) as fp:
|
||||
current = fp.read().strip()
|
||||
if current != content:
|
||||
|
||||
Reference in New Issue
Block a user