I’m trying to use the git pull addon, but no matter what I put in the configuration I’m told it’s not valid when I save it. Even pasting in verbatim what’s in the add on wiki page. I have my repo on github, and being tested with TravisCI, the add on is the last piece to get my actual configs pulled down.
I’ve tried this:
{
"git_branch": "master",
"git_command": "pull",
"git_remote": "origin",
"git_prune": false,
"repository": "https://github.com/paulmona/MyHomeAssistantConfig,git"
}
and this:
{
"deployment_key": [],
"deployment_key_protocol": "rsa",
"deployment_user": "",
"deployment_password": "",
"git_branch": "master",
"git_command": "pull",
"git_remote": "origin",
"git_prune": false,
"repository": "https://github.com/paulmona/MyHomeAssistantConfig,git",
"auto_restart": false,
"restart_ignore": [
"ui-lovelace.yaml",
".gitignore"
],
"repeat": {
"active": false,
"interval": 300
}
}
heck I even tried below just to see if it passed the parse test.
{
"git_branch": "master"
}
Doesn’t seem to matter what or how I enter it I get the error:
not a valid value for dictionary value @ data[‘options’]. Got {‘git_branch’: ‘master’, ‘git_command’: ‘pull’, ‘git_remote’: ‘origin’, ‘git_prune’: False, ‘repository’: None, ‘auto_restart’: False, ‘restart_ignore’: [‘ui-lovelace.yaml’, ‘.gitignore’], ‘repeat’: {‘active’: False, ‘interval’: 300}}
When I stripped the config back to just the one line (git_branch: master) above I got:
not a valid value for dictionary value @ data[‘options’]. Got {‘git_branch’: ‘master’}
Anyone?