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

Partially revert HMS error check #86

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

brg468
Copy link
Collaborator

@brg468 brg468 commented May 23, 2024

Fix for SecKatie/ha-wyzeapi#591

The change was discussed here, and since neither Joe or I have the HMS, I was basing the change off of the fact that _get_plan_binding_list_by_user is called once at startup, and the response there is 'message': 'Success' and the typical 2001 code on invalid auth, so the error checker wouldn't function correctly. But apparently _monitoring_profile_active must return a different response than everything else. This is untested of course but is the same response we were checking before.

#83 (comment)

Copy link
Owner

@SecKatie SecKatie left a comment

Choose a reason for hiding this comment

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

lgtm I don't have the HMS set up either so I can't confirm if this works. I'll make a pre-release for the reporter to test it

@SecKatie SecKatie merged commit 95becf3 into SecKatie:main May 27, 2024
1 check passed
@brg468
Copy link
Collaborator Author

brg468 commented May 27, 2024

It wasn’t the original reporter but another user with the issue reported it to be working.

SecKatie/ha-wyzeapi#591 (comment)

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