markgdev / home-assistant_OctopusAgile

Octopus Agile custom component for Home Assistant
Apache License 2.0
89 stars 32 forks source link

When first added opens screen asking for data with no field discriptions #38

Open Dazula opened 3 years ago

Dazula commented 3 years ago

Picture 1

Home Assistant 2020.12.2

markgdev commented 3 years ago

Is this when you install through HACS? Where do you see this screen? If it’s in the add integrations page, installation is performed through the configuration.yaml file.

Dazula commented 3 years ago

Is this when you install through HACS? Where do you see this screen?

If it’s in the add integrations page, installation is performed through the configuration.yaml file.

Apologises I should have provided more information.

It was after a manual install. I copied files to components. The window popped up when adding the integration within HA.

I simply entered junk text in the pop up and it worked fine.

Edited configuration.yaml with my api etc.

markgdev commented 3 years ago

No problem, I think I can see why this is happening, will have a look to try and replicate and stop it.

markgdev commented 3 years ago

Just having a look, did you go to "Add integration" when you got this issue? Or did it pop up before that point?

Dazula commented 3 years ago

Yes correct - At point of Add integration. (I also tried 'Add integration' this after installing via HACS and same happened). I guess I was more puzzled by the empty field names - Have in mind I set up configuration.yaml before installing by HACS

markgdev commented 3 years ago

That makes sense. It's because I hadn't setup the ability to add the integration through the GUI. There isn't any need to go to Add Integrations as you have already configured the integration through configuration.yml.

HACS-bank commented 3 years ago

I was also taken in by this - it seemed "obvious" to me that the dialogue was asking for MPAN, MeterID and API_key ...