piekstra / tplink-cloud-api

A Python library to remotely control TP-Link smart home devices using their cloud service - no need to be on the same network as your devices
GNU General Public License v3.0
41 stars 11 forks source link

Module not found #12

Closed f0ur3y3s closed 3 years ago

f0ur3y3s commented 3 years ago

As of 18DEC2020, it seems importing TPLinkDeviceManager cannot be done through tplink_cloud_api as stated in the documentation. I was able to resolve this issue by using from tplinkcloud import TPLinkDeviceManager instead.

Is this just an issue on my end?

piekstra commented 3 years ago

As of 18DEC2020, it seems importing TPLinkDeviceManager cannot be done through tplink_cloud_api as stated in the documentation. I was able to resolve this issue by using from tplinkcloud import TPLinkDeviceManager instead.

Is this just an issue on my end?

It's possible the documentation is out of date. I expect your workaround is the correct solution. I will check and get back to you.

piekstra commented 3 years ago

@incub4t0r Great catch! It was definitely outdated documentation. Thank you for creating an issue to track it and get it resolved!

The fix is in this PR: https://github.com/piekstra/tplink-cloud-api/pull/13