Hi all, more or less noob trying to run automation, making my Roborock vacuum specific room. I was able to make it work from the Frontend through the run command, but using more or less the same command through Ikea button press (automations) doesnt seem to work. Many thanks for any suggestions as this is so frustrating …
In the frontend I have a toggle command that works perfectly (roborock vacuums the desired room):
- type: button
tap_action:
action: call-service
service: vacuum.send_command
data:
command: app_segment_clean
params:
- segments:
- 19
target:
entity_id: vacuum.roborock_s5_max
repeat: 1
name: Predsoba
icon: mdi:robot-vacuum
show_state: true
But when I want to run the same action (cleaning only segment 19 room) through the Ikea Zigbee button, it doesn’t work (the button otherwise trigers the automation successfully):
alias: Gumb sproži sesalec - predsoba
description: ""
trigger:
- platform: event
event_type: zha_event
event_data:
device_ieee: 70:ac:08:ff:fe:bf:1b:4e
command: move_to_level
condition: []
action:
- service: vacuum.send_command
target:
entity_id: vacuum.roborock_s5_max
data:
command: app_segment_clean
params:
segments:
- 19
mode: single
When I check the trace timeline, I get the folowing:
Triggered by the event 'zha_event' at 24 February 2024 at 08:34:59
Call a service 'Vacuum: Send command' on Roborock S5 Max
Finished at 24 February 2024 at 08:34:59 (runtime: 0.16 seconds)
Any help would be super appreciated as I am getting frustrated
Best!