Git pull addon help

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?

No one is using this addon?

Try to fix the comma at the end of your repository url:

“repository”: “https://github.com/paulmona/MyHomeAssistantConfig.git”,

Tried every possible layout of this config and nothing work, same error every time. Here’s a snippet, no comma issues I can see.

  {
    "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
    }
  }

not a valid value for dictionary value @ data[‘options’]. Got {‘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}}

The "repeat" verb should be inline with the ]'
i.e.

{
    "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
    }
  }