iRobot integration - how to tell when iRobot is stuck?

I don’t see an entity or status that tells me if the vacuum is stuck? Am I missing that?

All I am not getting any logbook entries for this device yet all entities are reporting fine?

Thanks.

The roomba device status will change to stuck. Here’s my trigger for one of my vacuums getting stuck:

platform: state
entity_id:
  - vacuum.roomba
attribute: status
to: Stuck

And when I want details, I just grab it from the error attribute (this is my own homemade TTS script, ignore the service and use your own):

service: shell_command.speak
data:
  text: >
    {% set message = '' %} {% set error = state_attr('vacuum.roomba', 'error')
    %} {% set message = message + "The vacuum is complaining, the
    problem is: " + error %} {{ message }}

Thanks, to confirm this device will change to stuck? I am not getting anything in the logs as previously noted so difficult to tell what status changes it is going through.

image

Yes. You get more detail when you click the Roomba itself to get to the full controls of it, but yes, it will say Stuck or Error

Well, I see that there’s a need to extend the set of Roomba states that the integration exposes.

I came up with this:

Hopefully this will work. Will have to force him to get stuck and see.

Also I was wondering whether the lack of logs in the GUI is a bug or something else?