I am trying to add automations in HA for our Roborock. I have been able to send it out triggered off of bedroom doors being opened but it wants to mop and vacuum. I have looked all over the internet and ChatGPT and can't find the set_custom_code that enables the vacuum only mode. We only mop on the weekends. Does anybody know the code for vacuum only?
alias: Send Roborock to Room on Door Open
description: ""
triggers:
- trigger: state
entity_id:- binary_sensor.aqara_door_sensor_office_opening
to: "on"
conditions: []
actions:
- binary_sensor.aqara_door_sensor_office_opening
- data:
command: set_custom_mode
params:
- 106
action: vacuum.send_command
target:
entity_id: vacuum.roborock_s8_pro_ultra - data:
command: app_segment_clean
params:
- 25
action: vacuum.send_command
target:
entity_id: vacuum.roborock_s8_pro_ultra
mode: single