Description
The problem
Whenever a webhook gets created through the WebhookFlowHandler
it is forced to be a hooks.nabu.casa URL when the cloud component is active and the user has an active subscription, even though the hook could be only available locally.
See https://github.com/home-assistant/core/blob/dev/homeassistant/helpers/config_entry_flow.py#L218
Scenario:
I want to connect a local service through a webhook.
Current behavior:
The data is forced to go from my local network to nabu casa servers and back to my local home assistant instance.
Expected behavior:
Let the user chose if the webhook should be local only or available publically through the nabu casa cloud. This would make webhooks much faster if they can be locally sent and take load off the nabu casa infrastructure.
What version of Home Assistant Core has the issue?
2022.12.8
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
webhook
Link to integration documentation on our website
https://www.home-assistant.io/integrations/webhook/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response