We called disconnect() twice on the underlying libdyson object, which
resulted in an unhandled exception and the process hanging. Unfortunately
addressing this does not reliably result in reconnects; so also add a default
5 minute watchdog timer. If the timer expires, the process aborts so
systemd can restart it.
This PR also adds VSCode tasks and bumps version to 0.4.1.
We called disconnect() twice on the underlying libdyson object, which resulted in an unhandled exception and the process hanging. Unfortunately addressing this does not reliably result in reconnects; so also add a default 5 minute watchdog timer. If the timer expires, the process aborts so systemd can restart it.
This PR also adds VSCode tasks and bumps version to 0.4.1.