-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discovery/Connect broken when upgrading from 0.5.3 -> 0.5.4 #543
Comments
Are you seeing anything in the logs (after enabling logging for |
Hi, I'm also having the same issue here. Problem appears to be with hostname resolution in python-kasa 0.5.4
The command works just fine via IP. |
@krnhotwings hmm, I didn't realize hostname resolution was ever working w/ discovery, but #539 should fix that issue. |
Confirmed that (hacky) copy-pasting the contents of |
I'm stuck with this issue as well. Reverting to the previous version isn't an option, so I'd like to try @krnhotwings 's temporary solution. This would only be necessary while waiting for a 0.5.5 lib release and integration into a Home Assistant release. Trouble is that I'm running Home Assistant OS in a VM and I can't find the correct file path I needed to override the |
Edited above comment... It's @a-technomancer I don't use Home Assistant OS myself, my understanding is that it uses docker to run all of the actual home assistant stuff. If you have terminal access to the machine, you might want to try running |
Yep, I made a typo because of mobile. This is the file we're both talking about
No worries. I tried looking for the same thing, but connecting via SSH (Terminal Add-On or linux terminal) doesn't expose docker in a way that I can interact. |
First off thank you for your support on this project!
I have a homeassistant installation running in docker using python-kasa for integration with one HS103 switch with firmware 1.0.3. After upgrading homeassistant from
2023.10
to2023.11
which included an upgrade of python-kasa from0.5.3
to0.5.4
I am no longer able to discover or directly connect to my switch. The homeassistant upgrade was purely a version bump and the integration code had no changes, so I expect the regression is in the python-kasa library.I'm technically adept so would be willing to help investigate what caused the regression, either through homeassistant or by running the cli in a docker container. The issue may be related to this feature request: #517
The text was updated successfully, but these errors were encountered: