Skip to content

Commit 6aa5ec2

Browse files
epenetfrenck
andauthored
Add note about update coordinator in test-before-setup IQS rule (#2486)
Co-authored-by: Franck Nijhof <[email protected]>
1 parent 8219141 commit 6aa5ec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/core/integration-quality-scale/rules/test-before-setup.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: MyIntegrationConfigEntry
4242
return True
4343
```
4444

45+
:::info
46+
Please note that this may also be implemented implicitly when using a data update coordinator via `await coordinator.async_config_entry_first_refresh()`.
47+
:::
48+
4549
## Additional resources
4650

4751
More information about config entries and their lifecycle can be found in the [config entry documentation](../../../config_entries_index).

0 commit comments

Comments
 (0)