wyzeapy icon indicating copy to clipboard operation
wyzeapy copied to clipboard

Partially revert HMS error check

Open brg468 opened this issue 1 year ago • 0 comments

Fix for https://github.com/SecKatie/ha-wyzeapi/issues/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.

https://github.com/SecKatie/wyzeapy/pull/83#discussion_r1554494219

brg468 avatar May 23 '24 19:05 brg468