Trying to integrate vacuum cleaner on Mi Home app with HA, but there is no way (or I can’t find it, most likely) to harness messages from the machine. eg when cleaning is finished, or there is a problem with the cleaner, got entangled and so on. Ideally Id like those messages to work as triggers for potential automations. I know Xiaomi is a foreign and enemy entity now, but is there any way for that?
The state of the vacuum reports what it is doing,
You can use these in state triggers.