Set webhook local_only deprecation to 2023.11.0 (#95401)

This commit is contained in:
Eric Severance 2023-06-27 11:43:11 -07:00 committed by GitHub
parent 34827571ba
commit a4a6972237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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,
)

View file

@ -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",

View file

@ -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",