I have a roomba connected to my home assistant. For a few months it was working with no issues. I had an automation running for the vacuum to clean the house once a day when no one was at home. One day the vacuum integration crashed as soon as the robot was done cleaning and returning to its dock. The integration doesn’t update the current state anymore and the roomba cannot be controlled in any way through home assistant. However, when I restart home assistant, the robot shows up again as idle and I can control it again. The automation runs fine again, but as soon as the robot is moving to the dock again it crashes and not controllable anymore.
Anyone had the same experience and has a solution for this?
edit: I found this log at the exact moment the roomba was done cleaning
Logger: root
Source: /usr/src/homeassistant/homeassistant/bootstrap.py:318
First occurred: 7:31:18 (1 occurrences)
Last logged: 7:31:18
Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
rc = self.loop(timeout, max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
rc = self.loop_read(max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1574, in loop_read
return self._loop_rc_handle(rc)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2227, in _loop_rc_handle
self._do_on_disconnect(rc, properties)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3360, in _do_on_disconnect
self.on_disconnect(self, self._userdata, rc)
TypeError: _internal_on_disconnect() missing 1 required positional argument: 'rc'