mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-27 14:57:15 +00:00
Example of git-based dependency for development (#468)
This commit is contained in:
parent
ef82fe7149
commit
dd9ff0055d
@ -90,6 +90,13 @@ pip install -e ./pychromecast
|
||||
hass --skip-pip
|
||||
```
|
||||
|
||||
It is also possible to use a public git repository to install a requirement. This can be useful, for example, to test changes to a requirement dependency before it's been published to PyPI. The following example will install the `except_connect` branch of the `pycoolmaster` library directly from GitHub unless version `0.2.2` is currently installed:
|
||||
|
||||
```json
|
||||
{
|
||||
"requirements": ["git+https://github.com/issacg/pycoolmaster.git@except_connect#pycoolmaster==0.2.2"]
|
||||
}
|
||||
|
||||
## 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user