This commit is contained in:
mib1185 2025-02-18 19:18:11 +00:00
parent e360e8ba4a
commit 4df6d0b90e

View 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.