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 KP125 and fix missing async/await #57

Closed JBlaschke closed 2 years ago

JBlaschke commented 2 years ago

As the title says, the PR adds KP125 support: https://www.kasasmart.com/us/products/smart-plugs/kasa-smart-plug-slim-energy-monitoring-kp125

I based the KP125 support on KP115 -- this is a guess based on 1. model numbers, and 2. the KP115 and KP125 both have an emeter. If there are some API details that I have missed, please let me know.

piekstra commented 2 years ago

This looks great! Nice work and appreciate your addition 😃