This is going to be a short post, as it is VERY late, but after a friend of mine (Yamakiroshi) and I worked most of the last few nights trying to pull a number of different branches and forks of the python-kasa
module, and manually editing and creating a custom component to override the tplink
component - we finally got our first breakthrough!
Success! We have both a cloud-connected, and a local mode only, HS110(UK) with the v1.1.0 firmware controllable and with power usage stats all within Home Assistant again!
Just so people are aware, the code we have been using, the testing we did, was VERY hacky, to a point where if you look at the commit history of the branch I was testing in, its a mess.
The fork we are using is 4 forks down from the main python-kasa
branch, bringing in code additions from
Before finally getting to the monstrosity that is: GitHub - TokonatsuFestival/python-kasa: 🏠🤖 Python API for TP-Link Kasa Smarthome products
I do have a very hacked together custom component copied from the TPLINK version, updated to cover what was needed to override the existing plugin, and I need to clean that up (as it follows no best practice whatsoever, and genuinely has secrets in because we were getting frustrated with the issues!)
Hopefully, this at least brings some light at the end of a very long tunnel, and we will continue to work on this.
That being said, we are not experts at this, far from it - I will be looking for support to try and get this into a state that both the python-kasa
and the tplink
sections are updated to the high standards that the contributors to both are all happy with, but as this is my first time - it’s a steep learning curve!
Thank you again, and I will try and post more updates soon.