robert-alfaro / xfinity-usage

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

Not installing #14

Open dvoss85 opened 2 years ago

dvoss85 commented 2 years ago

Added the custom repo to HACS, it loads the repo in, but I'm not getting anyway to install to component. Looking at the logs I'm not seeing any errors, I also grabbed the new manifest file with the version in it.

image

dbaron92 commented 2 years ago

I have same problem :(

przemo commented 2 years ago

Similar problem, I get 'xfinity' integration not found error.

benblustey commented 2 years ago

Can you confirm that your manifest.json file is up to date and has the manifest number.

In HASS, I was receiving an error The custom integration 'xfinity' does not have a version key in the manifest file and was blocked from loading. After adding the version number I was able to load the component, but receiving an Failed to fetch data, status_code:401, resp: {'error': 'unauthenticated'} error even after turning 2FA off.

davidbrenner1 commented 2 years ago

Same problem for me as well.

mkanet commented 2 years ago

Similar problem, I get 'xfinity' integration not found error.

The same thing happens to me.

dvoss85 commented 2 years ago

Can you confirm that your manifest.json file is up to date and has the manifest number.

In HASS, I was receiving an error The custom integration 'xfinity' does not have a version key in the manifest file and was blocked from loading. After adding the version number I was able to load the component, but receiving an Failed to fetch data, status_code:401, resp: {'error': 'unauthenticated'} error even after turning 2FA off.

I grabbed the new manifest file, this is an output of mine

image

chilicheech commented 2 years ago

Same:

Logger: homeassistant.config
Source: config.py:883
First occurred: 10:02:00 AM (1 occurrences)
Last logged: 10:02:00 AM

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

It appears the manifest.json file has no version in it:

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

I believe this line should be in there:

  "version": "0.1.0",

This appears to be the same issue as #12

After manually adding that line to the manifest.json I now get this error:

This error originated from a custom integration.

Logger: custom_components.xfinity.sensor
Source: custom_components/xfinity/sensor.py:167
Integration: xfinity (documentation)
First occurred: 11:28:10 AM (1 occurrences)
Last logged: 11:28:10 AM

Failed to fetch data, status_code:401, resp: {'error': 'unauthenticated'}
d2inco commented 2 years ago

Hey @robert-alfaro , i see that you updated the manifest file, but left the version as 0.1.0, and did not do a formal "release" on it... Leaving it at the current release, HACS is unable to download the updated repo with the version number set.

Any chance you could bump the number to 0.1.1 and do a real "release" of it so that HACS can note it?

Thanks!