Add section about custom component requirements (#862)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Alan Tse 2021-03-24 09:47:47 -07:00 committed by GitHub
parent 3a402d86a7
commit 5d219781ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,10 @@ It is also possible to use a public git repository to install a requirement. Th
} }
``` ```
### Custom integration requirements
Custom integration should only include requirements that are not required by the Core [requirements.txt](https://github.com/home-assistant/core/blob/dev/requirements.txt).
## Zeroconf ## Zeroconf
If your integration supports discovery via [Zeroconf](https://en.wikipedia.org/wiki/Zero-configuration_networking), you can add the type to your manifest. If the user has the `zeroconf` integration loaded, it will load the `zeroconf` step of your integration's config flow when it is discovered. If your integration supports discovery via [Zeroconf](https://en.wikipedia.org/wiki/Zero-configuration_networking), you can add the type to your manifest. If the user has the `zeroconf` integration loaded, it will load the `zeroconf` step of your integration's config flow when it is discovered.