Update list of tp-link kasa supported devices#11805
Conversation
Update list of supported devices to include 'HS303 (powerstrip 3-outlet)'. I've confirmed this is working.
rytilahti
left a comment
There was a problem hiding this comment.
Thanks 👍 If you don't mind installing python-kasa from git (https://github.com/python-kasa/python-kasa) and running kasa dump-discover, and upload the result file to https://github.com/python-kasa/python-kasa/tree/master/kasa/tests/fixtures that would be great.
I can't get that to run, I get this error: I'm presuming that's because it's trying to use python 2.7 instead of 3.7, but I have no idea how to force it to use python 3.7; I never use python, so this isn't something I'm used to handling. I've downloaded and installed python 3.7 in addition to my mac's copy of 2.7. Repo is cloned, installed using Sorry for this to be a burden, not something I was expecting to have to do! Any tips to get this working? |
|
No worries, thanks for the effort! I think the proper way on OSX is to install python3 with brew, and then use virtualenv like shown in https://gist.github.com/pandafulmanda/730a9355e088a9970b18275cb9eadef3 When the environment has been activated, you can simply execute |
I got the device model number wrong in home-assistant#11805, it's KP303, not HS303, apologies.
|
Had to submit another PR cause I got the model number wrong 🤦♂ #11831 However, I have now been able to run the kasa discovery test, so a PR is landing for that shortly. Thanks for the advice on using |
I got the device model number wrong in #11805, it's KP303, not HS303, apologies.
Description:
Update list of supported devices to include 'HS303 (powerstrip 3-outlet)'. I've confirmed this is working.
Checklist:
nextis for changes and new documentation that will go public with the next Home Assistant release. Fixes, changes and adjustments for the current release should be created againstcurrent.