You don’t have clean mode set to 3 for Room with id 7:
[7,"Couloir",1,2,1,1,0,false]
the 3rd number would have to be a 3, so it should state:
[7,"Couloir",1,2,3,1,0,false]
So the code from before should be:
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\":3,\"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]}"
The only thing changed was in the 1st part, clean_mode: 3.