@yakox wrote:
I have a Xiaomi robot (Gen1) with Valetudo integrated with Home Assistant (0.101.3) using MQTT discovery.
Everything is working perfectly except one thing. When the vacuum has a problem and sends an error state I do not see this reflected in any way in Home Assistant as far as I can see.
I can see the error status is reported in MQTT:
{"battery_level":82,"docked":false,"cleaning":true,"charging":false,"fan_speed":"max","error":"Clean main brush"}
but the robot status in Home Assistant remains “on” and there is no indication of an error in attributes:
status: Cleaning battery_level: 82 battery_icon: 'mdi:battery-80' fan_speed: max fan_speed_list: - min - medium - high - max cleanTime: '354.4' cleanArea: '18773.6' cleanCount: 660 last_run_stats: startTime: 1575201583000 endTime: 1575203734000 duration: 61 area: '1.0' errorCode: 0 errorDescription: No error finishedFlag: false mainBrush: '289.6' sideBrush: '140.8' filter: '131.9' sensor: '19.6' friendly_name: rockrobo supported_features: 2045
Shouldn’t the error status be reflected somehow in the state of the vacuum sensor in HA or do I need to create a separate senor for that?
Posts: 1
Participants: 1