FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Help needed - awaiting game · Issue #179 · python-kasa/python-kasa · GitHub

Repository navigation

Help needed - awaiting game  #179

Closed
Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL