You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying just to use the sample code in the API documentation (copied and pasted this directly, except changing to my kasa plug's IP address)
but I keep getting this error from the await update line
I've also tried the super simple code example:
import asyncio
dev = SmartDevice("<my plug's IP address>")
asyncio.run(dev.update())
but it stalls on the third line until outputting the same error. The update() line seems to be holding everything up whatever I try, since I need to await it before accessing any info about the SmartDevice. Any advice on how to address this? Thank you in advance.
I've been trying just to use the sample code in the API documentation (copied and pasted this directly, except changing to my kasa plug's IP address)
but I keep getting this error from the await update line
I've also tried the super simple code example:
but it stalls on the third line until outputting the same error. The update() line seems to be holding everything up whatever I try, since I need to await it before accessing any info about the SmartDevice. Any advice on how to address this? Thank you in advance.