diff --git a/homeassistant/helpers/config_entry_flow.py b/homeassistant/helpers/config_entry_flow.py index e6d195f68d40..6911ff6c3f5f 100644 --- a/homeassistant/helpers/config_entry_flow.py +++ b/homeassistant/helpers/config_entry_flow.py @@ -275,7 +275,7 @@ class WebhookFlowHandler(config_entries.ConfigFlow): # Local import to be sure cloud is loaded and setup from homeassistant.components.cloud import ( # noqa: PLC0415 async_active_subscription, - async_create_cloudhook, + async_get_or_create_cloudhook, async_is_connected, ) @@ -300,7 +300,7 @@ class WebhookFlowHandler(config_entries.ConfigFlow): translation_domain=HOMEASSISTANT_DOMAIN, ) - webhook_url = await async_create_cloudhook(self.hass, webhook_id) + webhook_url = await async_get_or_create_cloudhook(self.hass, webhook_id) cloudhook = True else: webhook_url = async_generate_url(self.hass, webhook_id)