We don't currently trap any exceptions that python-kasa might throw.
It's not been needed so far - the library tends to trap issues and return empty values.
However, it'd still be prudent to add our own handling to ensure that if an exception were to find it's way through, it won't affect collection of data from subsequent devices.
Activity
04-Sep-22 11:25
assigned to @btasker
28-Dec-22 08:45
Turns out the library doesn't catch everything
28-Dec-22 09:00
mentioned in commit github-mirror/tplink_to_influxdb@0e929480adf7a6ec294544ce857b8b4288af23d6
Commit: github-mirror/tplink_to_influxdb@0e929480adf7a6ec294544ce857b8b4288af23d6 Author: B Tasker Date: 2022-12-28T08:45:59.000+00:00Message
Trap Kasa exceptions utilities/tp-link-to-influxdb#2