sharkiq
sharkiq copied to clipboard
Fix crash for devices with no room support
After a recent upgrade to homeassistant those of us with shark robots that don't support rooms have been getting crashes in this code. This fixes it for me at least.
https://github.com/home-assistant/core/issues/116670
Note that I don't have a vacuum with room support to test the opposite case. Probably want to test it with one before merging it.