Neato Vacuum Startup Error

I am having trouble using the Neato component. Version 0.89.1

Log error on startup:

neato: Error on device update!
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 348, in async_device_update
await self.hass.async_add_executor_job(self.update)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/neato/vacuum.py”, line 190, in update
robot_map_id = self._robot_maps[self._robot_serial][0][‘id’]
IndexError: list index out of range

I am able to view the clean map (via camera sensor) without issue.

Any thoughts?

I think this issue is due to not having a persistent map when your botvac supports it. Is this the case for you as well?

I am working on adding map cleaning which takes care of this issue. If you are willing to test it out the custom component can be found here: https://github.com/dshokouhi/hass-neato-custom-component/tree/multiple_floorplans

Another quick fix you can do is to create a map but if you dont want a persistent map the custom component should take care of it for you.

This was exactly my issue as well. Your custom component solved the persistent map.

1 Like

Excellent once I receive confirmation from testers about multiple floorplans I will submit this to HA

1 Like

Fixed my problem as well, my robot keeps having problems making a floorplan (large ranch style home, cleaning takes a whole day) so this fixed my problem. Thanks!

1 Like

For those who do not have any persistent maps saved, 0.89.2 has the fix for that issue which is OP’s issue.

The multiple floorplan branch actually has extra code to allow those who have multiple maps to clean with them as the current implementation only takes the first map into account.