Instead uf using siid: 6 and aiid: 7, use siid: 2, aiid: 13 and use the params for room ids:
in the first step you set the custom cleaning parameters for the room, which are now the default parameters for the room (if you look in the mi app on your phone, u’ll see that).
If you use siid: 6, aiid 7: it will start cleaning the whole map, in the order of rooms you set in the mi app.
Change it to this (only part 2 is changed bellow)
clean_couloir:
sequence:
# 1️⃣ Configure les paramètres de nettoyage pour le couloir
- service: xiaomi_miot.call_action
target:
entity_id: vacuum.xiaomi_b108gl_8568_robot_cleaner
data:
siid: 2
aiid: 10
params:
- "{\"room_attrs\":[{\"id\":7,\"room_name\":\"Couloir\",\"fan_level\":1,\"water_level\":1,\"clean_mode\":1,\"clean_times\":1,\"mop_mode\":0,\"on\":true}]}"
# 2️⃣ Démarre le nettoyage avec les paramètres définis
- service: xiaomi_miot.call_action
target:
entity_id: vacuum.xiaomi_b108gl_8568_robot_cleaner
data:
siid: 2
aiid: 13
params:
- "{\"room\":[7]}"
Attribut from Home Assistant is : `
vacuum_extend.status_extend: 0
vacuum_extend.room_info: {"version":2,"room_attrs":[["id","room_name","fan_level","water_level","clean_mode","clean_times","mop_mode","on"],[3,"Couture",2,1,3,1,0,false],[4,"Salon",2,1,1,1,0,true],[5,"Cuisine",2,2,1,1,0,false],[6,"Wc vestiaire",2,2,1,1,0,false],[7,"Couloir",2,1,1,1,0,false]]}
This will send it to room 7
