Hi everyone, it’s my first post here!
I’m trying to use ifttt webhooks to clean multiple rooms with my xiaomi vacuum.
I have this in the iftt body:
{ "action": "vacuum", "entity_id": "vacuum.xiaomi_vacuum_cleaner", "area": "{{TextField}}" }
I’m trying to use app_segment_clean with the rooms IDs.
How can I use the text in the variable “area” to trigger the service vacuum.send_command with this service data:
entity_id: vacuum.xiaomi_vacuum_cleaner
command: app_segment_clean
params:
- 16
And is there a way to clean more than one room? If so, how?
Thanks in advance!