robert-alfaro / xfinity-usage

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

Conflict with Xfinity Gateway Integration #4

Open RGSSoftware opened 4 years ago

RGSSoftware commented 4 years ago

I'm on Home Assistant v0.99.3 and using the Xfinity Gateway integration, but I'm getting a configuration error when I add xfinity-usage to my configuration. When I remove Xfinity Gateway from my configuration.yaml the below error goes await.

Installed with: HACS

Home Assistant

robert-alfaro commented 4 years ago

Thanks for reporting this issue..I've been expecting someone to notice this.

It boils down to the two components having the same name/domain. A hack is to modify the folder name in custom_components and to change the domain in this components manifest. This isn't friendly along with HACS..sorry.

The ultimate goal is getting the necessary portion of this component into a PyPI package and then getting this component merged with the gateway integration. That would work nicely since they are different platforms; one is a sensor, the other a device tracker.

RGSSoftware commented 4 years ago

Ok, sounds great.

If anyone else is looking for a HACS workaround until this component is merged with the gateway integration, you can use this.