Set webhook local_only deprecation to 2023.11.0 (#95401)
This commit is contained in:
parent
34827571ba
commit
a4a6972237
3 changed files with 3 additions and 3 deletions
|
@ -163,7 +163,7 @@ async def async_handle_webhook(
|
|||
_LOGGER.warning(
|
||||
"Deprecation warning: "
|
||||
"Webhook '%s' does not provide a value for local_only. "
|
||||
"This webhook will be blocked after the 2023.7.0 release. "
|
||||
"This webhook will be blocked after the 2023.11.0 release. "
|
||||
"Use `local_only: false` to keep this webhook operating as-is",
|
||||
webhook_id,
|
||||
)
|
||||
|
|
|
@ -98,7 +98,7 @@ async def async_attach_trigger(
|
|||
hass,
|
||||
DOMAIN,
|
||||
issue_id,
|
||||
breaks_in_ha_version="2023.7.0",
|
||||
breaks_in_ha_version="2023.11.0",
|
||||
is_fixable=False,
|
||||
severity=IssueSeverity.WARNING,
|
||||
learn_more_url="https://www.home-assistant.io/docs/automation/trigger/#webhook-trigger",
|
||||
|
|
|
@ -137,7 +137,7 @@ async def test_webhook_allowed_methods_internet(
|
|||
"platform": "webhook",
|
||||
"webhook_id": "post_webhook",
|
||||
"allowed_methods": "PUT",
|
||||
# Enable after 2023.4.0: "local_only": False,
|
||||
# Enable after 2023.11.0: "local_only": False,
|
||||
},
|
||||
"action": {
|
||||
"event": "test_success",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue