And now after debbuging…
I call service from vacuum, right?
{
"domain": "vacuum",
"service": "vacuum_clean_segment",
"serviceData": {
"segments": [
17
],
"entity_id": "vacuum.roborock_s5_max"
}
}
but this call:
service: xiaomi_miio.vacuum_clean_segment
data:
segments: 17
target:
entity_id: vacuum.roborock_s5_max
works as expected…
so in card I need to change somwhere this to call this service
In card I use default, which as I suppose based on YOur documentation is excalty this service… ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=12)
so even with choose this default, it not call proper serice, am I right?
With this default paltform choosen, service call is not what I expect for Xiaomi_mioo:
{
"domain": "vacuum",
"service": "send_command",
"serviceData": {
"command": "app_segment_clean",
"entity_id": "vacuum.roborock_s5_max",
"params": [
{
"segments": [
18
],
"repeat": 1
}
]
}
}
Another edit (sorry, I work as Test Architect in IT :D)
Zone cleanup call proper service:
{
"domain": "xiaomi_miio",
"service": "vacuum_clean_zone",
"serviceData": {
"zone": [
[
23217,
23017,
29783,
29033
]
],
"repeats": 1,
"entity_id": "vacuum.roborock_s5_max"
}
}
GoTo also call proper and works
{
"domain": "xiaomi_miio",
"service": "vacuum_goto",
"serviceData": {
"x_coord": 27077,
"y_coord": 24293,
"entity_id": "vacuum.roborock_s5_max"
}
}
Path cleaning not work:
{
"domain": "script",
"service": "vacuum_follow_path",
"serviceData": {
"service": "xiaomi_miio.vacuum_goto",
"mode": "individual",
"path": [
[
27365,
23593
],
[
28643,
23758
],
[
27942,
24747
],
[
26500,
24747
],
[
27365,
23469
]
],
"entity_id": "vacuum.roborock_s5_max"
}
}
because according documentation, there is no path mode in got service call