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

OAuth improvements and new status codes #43

Merged
merged 10 commits into from
Jun 3, 2024
Merged

OAuth improvements and new status codes #43

merged 10 commits into from
Jun 3, 2024

Conversation

trizmark
Copy link
Contributor

This PR adds further functionality that's related to the libbi. The main change is to return 'None' as property values when OAuth is required, but no credentials are defined. The HA integration uses these None values to display entities as unavailable if OAuth is missing.
The PR adds a few new libbi status codes.
Also fixed a couple of linting errors.

@trizmark
Copy link
Contributor Author

I also added a "--skip-oauth" flag to the cli, so it doesn't ask for app email/password (for users without libbi)

@trizmark
Copy link
Contributor Author

trizmark commented Jun 3, 2024

@CJNE Apologies for the tag, but do you think you could review this PR? The HA integration PR depends on this one. Thanks!

Copy link
Owner

@CJNE CJNE left a comment

Choose a reason for hiding this comment

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

It looking good!

@CJNE CJNE merged commit 3371020 into CJNE:main Jun 3, 2024
0 of 2 checks passed
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.

2 participants