mirror of
https://github.com/home-assistant/core.git
synced 2025-09-05 21:01:37 +02:00
Fix ContextVar error log for custom components
Co-authored-by: mib1185 <35783820+mib1185@users.noreply.github.com>
This commit is contained in:
@@ -92,7 +92,7 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
|
|||||||
frame.report_usage(
|
frame.report_usage(
|
||||||
"relies on ContextVar, but should pass the config entry explicitly.",
|
"relies on ContextVar, but should pass the config entry explicitly.",
|
||||||
core_behavior=frame.ReportBehavior.ERROR,
|
core_behavior=frame.ReportBehavior.ERROR,
|
||||||
custom_integration_behavior=frame.ReportBehavior.LOG,
|
custom_integration_behavior=frame.ReportBehavior.IGNORE,
|
||||||
breaks_in_ha_version="2026.8",
|
breaks_in_ha_version="2026.8",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user