Moving from ZWave to ZigBee

I recently started using homeassistant to get away from cloud-only SmartThings (because not being able to use lights when the internet is down is dumb) and to support wall switches that Hue just won’t, so I set up a Pi with an Xbee module and adapter:

It works great when it’s working. The big problem is that zha seems to be quite buggy, because the log starts filling up with these messages:

2019-01-08 17:37:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/zigpy_xbee/zigbee/application.py", line 66, in request
    assert sequence not in self._pending
AssertionError

And eventually all zigbee devices will stop working until I reboot homeassistant. After rebooting it take maybe 5-10 minutes for all the zigbee devices to come back online. I’ve seen that maybe this is fixed but I’m too new to hassio to know how to update the latest zigpy into the Docker image or however it works outside of a release.