Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
epenet 2025-06-03 09:30:45 +02:00 committed by GitHub
parent cfd99affa5
commit dbc3b1283e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ title: "Deprecate verify_domain_control service helper"
The `homeassistant.helpers.service.verify_domain_control` helper function is deprecated,
and has been replaced with `verify_domain_entity_control`.
Since release `2025.1` (via core PR 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,
and it became redundant to pass `hass` object to `verify_domain_control`.