robert-alfaro / xfinity-usage

Home Assistant custom component for retrieving Xfinity data usage
53 stars 19 forks source link

Platform error sensor.xfinity - Integration 'xfinity' not found. #12

Closed astranberg closed 2 years ago

astranberg commented 2 years ago

Not sure if this is the plugin or me? I'm getting this error when I check configuration.yaml:

Platform error sensor.xfinity - Integration 'xfinity' not found.

My YAML is valid on an online validator.

` sensor:

Uninstalling and re-installing via HACS didn't work.

Downloading and installing manually didn't work.

I'm really at a loss here....

chriskob commented 2 years ago

Same here

chriskob commented 2 years ago

Same here

rock425a commented 2 years ago

I was getting the same results:

Platform error sensor.xfinity - Integration 'xfinity' not found.

I found that it was complaining of no version info in the manifest.json file -

if you go to this file: /config/custom_components/xfinity/manifest.json

and add the following: "version": "0.1.0",

between name and documentation, this will allow the integration to load (may need to restart home assistant).

The issue I'm seeing now is failure to authenticate...

@robert-alfaro - for some reason, it appears that hacs isn't pulling the full repo down, I noticed in the manifest.json file, you are missing the comma at the end of the version line - I'm not sure if this is the reason it's not updating or not.

astranberg commented 2 years ago

EDIT

{
  "domain": "xfinity",
  "name": "Xfinity Usage",
  "version": "0.1.0",
  "documentation": "https://github.com/robert-alfaro/xfinity-usage",
  "requirements": [],
  "dependencies": [],
  "codeowners": [
    "@ralfaro"
  ]
}

I can confirm that version is missing a comma. Adding it fixes this.

robert-alfaro commented 2 years ago

add missing comma 1737ab8

astranberg commented 2 years ago

add missing comma 1737ab8

this works. can be closed.