Fix links to integration_setup_failures (#1362)

This commit is contained in:
J. Nick Koston 2022-06-12 13:44:30 -10:00 committed by GitHub
parent 3a1d9a55a0
commit bf82b31d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ This integration is able to cope when things go wrong. It will not print any exc
- Satisfying all No score level requirements.
- Connection/configuration is handled via a component.
- Set an appropriate `SCAN_INTERVAL` (if a polling integration)
- Raise [`PlatformNotReady`](integration_setup_failures/#integrations-using-async_setup_platform) if unable to connect during platform setup (if appropriate)
- Raise [`PlatformNotReady`](integration_setup_failures.md/#integrations-using-async_setup_platform) if unable to connect during platform setup (if appropriate)
- Handles expiration of auth credentials. Refresh if possible or print correct error and fail setup. If based on a config entry, should trigger a new config entry flow to re-authorize. ([docs](config_entries_config_flow_handler.md#reauthentication))
- Handles internet unavailable. Log a warning once when unavailable, log once when reconnected.
- Handles device/service unavailable. Log a warning once when unavailable, log once when reconnected.
@ -39,7 +39,7 @@ This is a solid integration that is able to survive poor conditions and can be c
- Don't allow configuring already configured device/service (example: no 2 entries for same hub)
- Discoverable (if available)
- Set unique ID in config flow (if available)
- Raise [`ConfigEntryNotReady`](integration_setup_failures/#integrations-using-async_setup_entry) if unable to connect during entry setup (if appropriate)
- Raise [`ConfigEntryNotReady`](integration_setup_failures.md/#integrations-using-async_setup_entry) if unable to connect during entry setup (if appropriate)
- Entities have device info (if available) ([docs](device_registry_index.md#defining-devices))
- Tests
- Full test coverage for the config flow
@ -60,7 +60,7 @@ Best of the best. The integration is completely async, meaning it's super fast.
- Support config entry unloading (called when config entry is removed)
- Integration + dependency are async ([docs](asyncio_working_with_async.md))
- Uses aiohttp or httpx and allows passing in websession (if making HTTP requests)
- [Handles expired credentials](integration_setup_failures/#handling-expired-credentials) (if appropriate)
- [Handles expired credentials](integration_setup_failures.md/#handling-expired-credentials) (if appropriate)
## Internal 🏠