mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-07 17:36:29 +00:00
Clarify gold level quality scale test requirements (#1194)
This commit is contained in:
parent
4330a6f0c2
commit
f8b349ad3a
@ -36,12 +36,14 @@ This is a solid integration that is able to survive poor conditions and can be c
|
||||
- Satisfying all Silver level requirements.
|
||||
- Configurable via config entries.
|
||||
- Don't allow configuring already configured device/service (example: no 2 entries for same hub)
|
||||
- Tests for the config flow
|
||||
- Discoverable (if available)
|
||||
- Set unique ID in config flow (if available)
|
||||
- Raise `ConfigEntryNotReady` if unable to connect during entry setup (if appropriate)
|
||||
- Entities have device info (if available) ([docs](device_registry_index.md#defining-devices))
|
||||
- Tests for fetching data from the integration and controlling it ([docs](development_testing.md))
|
||||
- Tests
|
||||
- Full test coverage for the config flow
|
||||
- Above average test coverage for all integration modules
|
||||
- Tests for fetching data from the integration and controlling it ([docs](development_testing.md))
|
||||
- Has a code owner ([docs](creating_integration_manifest.md#code-owners))
|
||||
- Entities only subscribe to updates inside `async_added_to_hass` and unsubscribe inside `async_will_remove_from_hass` ([docs](core/entity.md#lifecycle-hooks))
|
||||
- Entities have correct device classes where appropriate ([docs](core/entity.md#generic-properties))
|
||||
|
Loading…
x
Reference in New Issue
Block a user