mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Update Docs to match regex for repository URL (#4413)
Describe that https:// Repository URLs have to end with .git to match regex for repository URL.
This commit is contained in:
parent
394f9b5e94
commit
68bb697477
@ -13,7 +13,7 @@ Load and update configuration files for Home Assistant from a GIT repository.
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"repository": "https://example.com/my_configs",
|
"repository": "https://example.com/my_configs.git",
|
||||||
"auto_restart": false,
|
"auto_restart": false,
|
||||||
"repeat": {
|
"repeat": {
|
||||||
"active": false,
|
"active": false,
|
||||||
@ -32,7 +32,7 @@ Load and update configuration files for Home Assistant from a GIT repository.
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- **repository** (*Required*): GIT url to your repository.
|
- **repository** (*Required*): GIT url to your repository. You have to add .git to your GITHub-Repository-URL (see example Config)
|
||||||
- **auto_restart** (*Optional*): Make a restart of Home-Assistant if the config have change and is valid.
|
- **auto_restart** (*Optional*): Make a restart of Home-Assistant if the config have change and is valid.
|
||||||
- **repeat/active** (*Optional*): Pull periodic for GIT updates.
|
- **repeat/active** (*Optional*): Pull periodic for GIT updates.
|
||||||
- **repeat/interval** (*Optional*): Pull all x seconds and look for changes.
|
- **repeat/interval** (*Optional*): Pull all x seconds and look for changes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user