mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 21:06:28 +00:00
Update blog/2025-06-03-deprecate-verify-domain-control.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ba727f2404
commit
a108d3d7a2
@ -11,7 +11,7 @@ and has been replaced with `verify_domain_entity_control`.
|
|||||||
|
|
||||||
Since release `2025.1` (via core PR [#133062](https://github.com/home-assistant/core/pull/133062)),
|
Since release `2025.1` (via core PR [#133062](https://github.com/home-assistant/core/pull/133062)),
|
||||||
a reference to `HomeAssistant` is available as a property of the `ServiceCall` object,
|
a reference to `HomeAssistant` is available as a property of the `ServiceCall` object,
|
||||||
and it became redundant to pass `hass` object to `verify_domain_control`.
|
and it became redundant to pass the `hass` object to `verify_domain_control`.
|
||||||
|
|
||||||
To update your integration:
|
To update your integration:
|
||||||
1. Replace the decorator (as shown in the first example below).
|
1. Replace the decorator (as shown in the first example below).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user