mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix hassfest allowing omitting discovery methods when using OAuth2Flow (#30732)
This commit is contained in:
committed by
Paulus Schoutsen
parent
1f9d6ba541
commit
040b283a14
@@ -43,6 +43,7 @@ def generate_and_validate(integrations: Dict[str, Integration]):
|
||||
content = fp.read()
|
||||
if (
|
||||
" async_step_ssdp" not in content
|
||||
and "AbstractOAuth2FlowHandler" not in content
|
||||
and "register_discovery_flow" not in content
|
||||
):
|
||||
integration.add_error("ssdp", "Config flow has no async_step_ssdp")
|
||||
|
||||
Reference in New Issue
Block a user