Pyhass / Hive-Custom-Component

A custom version of the home assistant hive component
MIT License
33 stars 17 forks source link

[BUG] Failed to set up: could not authenticate #116

Closed drax-uk closed 2 years ago

drax-uk commented 2 years ago

Describe the bug I get Failed to set up: could not authenticate when setting up the integration. Either putting first code I get or 0000 and then put the second one after successfully adding it I get Failed to set up: could not authenticate and there I get Reconfigure. Even If i go to reconfigure I get popup authentication was successful but the integration still says Failed to set up: could not authenticate

To Reproduce Steps to reproduce the behaviour:

  1. Add Hive integration
  2. Enter Credentials
  3. Put first code you receive or 0000
  4. Put second code
  5. You get error
  6. Try to reconfigure, put 0000
  7. enter second code, you get re-authentication successful
  8. Still integration says Failed to set up: could not authenticate

Expected behaviour A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

drax-uk commented 2 years ago

My bad.. I wasn't the owner in the Hive app. To use the this integration or the official one you need to be the owner, otherwise you will encounter this issue