[X] I have updated the integration to the latest version available
[X] I have checked if the problem is already reported
The problem
When using the Xiaomi Mop 2 Pro+ along with the Map Extractor, upon changing to cleaning state, the following values are presented as attributes, but they are having a NULL value:
walls
zones
path
obstacles
obstacles_with_photo
cleaned_rooms
goto
goto_path
goto_predicted_path
ignored_obstacles
ignored_obstacles_with_photo
Also, the following values can be seen as the vacuum position:
vacuum_position:
x: 32767
'y': 32767
a: 0
Note: The vacuum position can be updated with the following call, which used as an automation for when the vacuum is cleaning, showing the proper values for the vacuum (this was originally used to update the path on the map periodically, to see the movement of the vacuum live):
alias: EVENT - Vacuum Map Update
description: Updates vacuum map while it is running, so it can be seen live.
trigger:
- platform: state
entity_id:
- vacuum.dreame_p2041o_aed6_robot_cleaner
action:
- repeat:
while:
- condition: or
conditions:
- condition: state
entity_id: vacuum.dreame_p2041o_aed6_robot_cleaner
state: cleaning
- condition: state
entity_id: vacuum.dreame_p2041o_aed6_robot_cleaner
state: mopping
- condition: state
entity_id: vacuum.dreame_p2041o_aed6_robot_cleaner
state: returning
sequence:
- service: xiaomi_miot.call_action
data:
entity_id: vacuum.dreame_p2041o_aed6_robot_cleaner
siid: 6
aiid: 1
params:
- piid: 2
value: "{\"req_type\":1,\"frame_type\":\"I\",\"force_type\":1}"
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
mode: single
What version of an integration has described problem?
Xiaomi Miot Auto v0.0.7, Xiaomi MIoT v1.4.3
What was the last working version of an integration?
Checklist
The problem
When using the Xiaomi Mop 2 Pro+ along with the Map Extractor, upon changing to cleaning state, the following values are presented as attributes, but they are having a NULL value:
Also, the following values can be seen as the vacuum position:
What version of an integration has described problem?
Xiaomi Miot Auto v0.0.7, Xiaomi MIoT v1.4.3
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
dreame.vacuum.p2041o
What version of Home Assistant do you use?
Home Assistant 2023.4.5
What type of installation are you running?
Home Assistant OS
Camera's configuration
Errors shown in the HA logs (if applicable)
No response
Additional information
The MiOT specification for this vacuum can be found here.