mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 12:56:30 +00:00
alpha
This commit is contained in:
parent
e360e8ba4a
commit
4df6d0b90e
9
blog/2025-02-18-passing-entry-explicitily.md
Normal file
9
blog/2025-02-18-passing-entry-explicitily.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
author: Michael
|
||||||
|
authorURL: https://github.com/mib1185
|
||||||
|
title: Explicitly pass in the config entry
|
||||||
|
---
|
||||||
|
|
||||||
|
At the moment, we rely on the `ContextVar` to set the related config entry in a coordinator.
|
||||||
|
|
||||||
|
For core integrations, it is now required to pass in the config entry explicitly to the [DataUpdateCoordinator](/docs/integration_fetching_data.md#coordinated-single-api-poll-for-data-for-all-entities). For custom integrations it is not enforced, but you're welcome to still adopt this approach.
|
Loading…
x
Reference in New Issue
Block a user