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.
Activity
Release 0.4.0.dev4
Release 0.4.0.dev4
Release 0.4.0.dev4 (#210)
Release 0.4.0.dev4 (python-kasa#210)
Release 0.4.0.dev4 (python-kasa#210)