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

Add support for KP303 Power Strips #17

Closed piekstra closed 3 years ago

piekstra commented 3 years ago

This also includes a reversion of the async code, most importantly around get_devices which as a top-level call should not have required that consumers use asyncio.run to execute. Async code for this project is intended to function behind the scenes and the rudimentary implementation was not actually making anything any faster. Implementing async requests to the TP-Link API will be revisited at a later time.