arraylabs / pymyq

Python wrapper for MyQ API
MIT License
112 stars 42 forks source link

add the guest account support #50

Closed zhuqf closed 3 years ago

zhuqf commented 4 years ago

read the API accounts for the devices from invitation. fallback to my if no devices are found.

zhuqf commented 4 years ago

I also create a issue for this but have no idea how to link them

marcone commented 4 years ago

Saying something like "fixes #49" in the commit message should link them. This project seems abandoned though.

ehendrix23 commented 3 years ago

@zhuqf so the change is to get all the devices from all accounts by getting all accounts and then all devices within each account? And if no account found for some reason then fall-back to how it was retrieved before?

zhuqf commented 3 years ago

@zhuqf so the change is to get all the devices from all accounts by getting all accounts and then all devices within each account? And if no account found for some reason then fall-back to how it was retrieved before?

@ehendrix23 the change allow to read all the devices from current account, no matter the account own the device or not. for example, you can author account someone@somedomain.com to access your device, he might have or have not any device himself. someone@somedomain.com login to his account in HA, before change, he could only see his own device in HA, after change he could see both his device and your device in the HA.

Best Regards, Qiaofeng

ehendrix23 commented 3 years ago

Version 2.0.7 pushed which includes this fix.