ryanbateman / bvg-sensor

A HomeAssistant / HACS integration of Berlin Public Transport (BVG)
The Unlicense
14 stars 1 forks source link

Integration asks for Username/Password #4

Open aluavin opened 2 years ago

aluavin commented 2 years ago

During the Setup in HA I get the information to provide username and password. However, in your Readme, there is no word on it.

Second Issue: The link in the Integration is also not working correctly. Currently it links to https://github.com/ryanbateman/bvg-berlin-public-transport, but should link to https://github.com/ryanbateman/bvg-sensor/

ryanbateman commented 2 years ago

@aluavin Thanks for raising these.

That's very odd - no username/password is needed and there's no code to request one. Where in the HA setup does it request it? What step were you doing before it requested it?

When you say "the link in the integration", where do you mean specifically? Is this in a README file, the HACS description, or...?

yigitbey commented 2 years ago

hello, I believe it's this modal on /config/integrations page: Screenshot from 2022-07-25 21-09-02

yigitbey commented 2 years ago

And I believe it asks them here: https://github.com/ryanbateman/bvg-sensor/blob/master/custom_components/bvg_berlin_public_transport/config_flow.py#L33

fr1cklr commented 2 years ago

Same happens to me, when I'm trying to add and configure the integration, the window pops up, asking for username + password and displaying the wrong link to github (https://github.com/ryanbateman/bvg-berlin-public-transport) which leads to a 404 - page not found.

Bildschirmfoto 2022-08-01 um 15 57 20
tinkerberlin commented 2 years ago

Hi there. I'm having the same issue. It's asking for a username and password. Any solution available? Thanks!

yigitbey commented 2 years ago

@tinkerberlin @fr1cklr just enter any string to both fields, they are not needed at all.

ryanbateman commented 2 years ago

Thanks for looking into this. This seems to be coming from the HACS templating tool I was using - I'll disable it in there, try a new build/install. Oddly, I can't seem to replicate this.

ndom91 commented 1 year ago

Still happening to me in 0.3.1