Add note about update coordinator in test-before-setup IQS rule (#2486)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
epenet 2024-12-06 20:33:47 +01:00 committed by GitHub
parent 8219141adc
commit 6aa5ec2f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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).