mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 04:16:29 +00:00
Clarify description of 'after_dependencies' (#730)
This commit is contained in:
parent
d2604b1755
commit
cbe31f19c3
@ -55,7 +55,7 @@ Dependencies are other Home Assistant integrations that you want Home Assistant
|
||||
|
||||
## After dependencies
|
||||
|
||||
This option is used to specify optional dependencies that might be used. When `after_dependencies` is present, set up of an integration will wait for the other dependency to be set up before being set up. It will also make sure that the requirements of `after_dependencies` are installed so methods from the integration can be safely imported.
|
||||
This option is used to specify dependencies that might be used by the integration but aren't essential. When `after_dependencies` is present, set up of an integration will wait for the `after_dependencies` to be set up before being set up. It will also make sure that the requirements of `after_dependencies` are installed so methods from the integration can be safely imported. For example, if the `camera` integration might use the `stream` integration in certain configurations, adding `stream` to `after_dependencies` of `camera`'s manifest, will ensure that `stream` is loaded before `camera` if it is configured. If `stream` is not configured, `camera` will still load.
|
||||
|
||||
## Code Owners
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user