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

APS: Improved APS User Details dictionary access and notify users of Forbidden access #101

Conversation

seferino-fernandez
Copy link
Contributor

It seems like some APS users either are not enabled for Opower or simply aren't allowed access to it. I updated the APS User Details dictionary access handling to avoid throwing list index out of range errors, as well as to look for any service address id available.

I also updated the APS code to notify the user if a forbidden error is thrown by Opower.

Addresses:
home-assistant/core#128673
home-assistant/core#128810

@tronikos tronikos merged commit e7a9db6 into tronikos:main Oct 29, 2024
4 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