Hi, I try the service vacuum.clean_spot and I don’t understand how it work,
it set a spot in the middle of my map but how can I tell where I want it to go ?
Hi, I try the service vacuum.clean_spot and I don’t understand how it work,
it set a spot in the middle of my map but how can I tell where I want it to go ?
I recently found out that instead of vacuum.clean_spot
that vacuum.send_command
and command: spot_area
can be used to clean specific rooms if the vacuum integration has room numbers. One way to find them is by going to Developer Tools and putting the vacuum entity in the States tab then the numbers can be used to identify which room to clean by using service: vacuum.send_command
in the following format:
service: vacuum.send_command
target:
entity_id: vacuum.name
data:
command: spot_area
params:
rooms: room number
cleanings: 1
or if you can use the room name such as in the following example
service: vacuum.send_command
target:
entity_id: vacuum.deebot_n8_pro
data:
command: spot_area
params:
rooms: |
{{ states.vacuum.deebot_n8_pro.attributes.room_corridor }}
cleanings: 1