Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect on Failed Authentication #39

Closed
wants to merge 20 commits into from

Conversation

ColinRobbins
Copy link
Contributor

Description

Fix for issue #14

  1. Created failed_auth_handler as a class method
  2. Ensured active sensor get access to the token
  3. Added await to call of failed_auth_handler, otherwise its not called

Motivation and Context

Fix fo #14

How Has This Been Tested?

Locally in test and live environments

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@ColinRobbins ColinRobbins mentioned this pull request Oct 9, 2021
Comment on lines 5 to 7
"documentation": "https://github.com/ColinRobbins/ha-hildebrandglow-dcc",
"issue_tracker": "https://github.com/ColinRobbins/ha-hildebrandglow-dcc/issues",
"codeowners": ["@handyhat","@ColinRobbins"],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are problematic given a PR into upstream.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted, this is now removed from the PR.

(I need it in my main branch as some people are using my fork, as HandyHat does not seem to be accepting PR's at the moment. Thus people using my fork, need to amended version to HACS updates to work.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is pretty confused, looking again, as it mixes in a new feature too.
Now sure it’s worth fixing, as it’s been superseded by #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants