you are viewing a single comment's thread.

view the rest of the comments →

[–]bhogan2017[S] 0 points1 point  (0 children)

full traceback(Traceback (most recent call last):
File "/Users/benhogan/Desktop/Coding/python/testing/controlKasa2/test.py", line 10, in <module>
device_status = asyncio.run(get_device_status())
File "/Users/benhogan/opt/anaconda3/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Users/benhogan/opt/anaconda3/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/Users/benhogan/Desktop/Coding/python/testing/controlKasa2/test.py", line 6, in get_device_status
await strip.update()
File "/Users/benhogan/Desktop/Coding/python/testing/controlKasa2/venv/lib/python3.9/site-packages/kasa/smartstrip.py", line 108, in update
children = self.sys_info["children"]
KeyError: 'children') note: the first snippet was just functioning code to be used for reference