From 6aa5ec2f8cc418a5bab2b9b03b8033a97fc4384b Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:33:47 +0100 Subject: [PATCH] Add note about update coordinator in test-before-setup IQS rule (#2486) Co-authored-by: Franck Nijhof --- .../core/integration-quality-scale/rules/test-before-setup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/core/integration-quality-scale/rules/test-before-setup.md b/docs/core/integration-quality-scale/rules/test-before-setup.md index 77da0ace..57a40cd5 100644 --- a/docs/core/integration-quality-scale/rules/test-before-setup.md +++ b/docs/core/integration-quality-scale/rules/test-before-setup.md @@ -42,6 +42,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: MyIntegrationConfigEntry return True ``` +:::info +Please note that this may also be implemented implicitly when using a data update coordinator via `await coordinator.async_config_entry_first_refresh()`. +::: + ## Additional resources More information about config entries and their lifecycle can be found in the [config entry documentation](../../../config_entries_index).