Firing of a deconz event triggers my automation, no problem.
I need that automation to repeat until another (seperate) event is fired on the event bus.
Can I achieve this with something like the below? I need help with the syntax if it is possible.
If this will not work any other ideas please?
- alias: "Bedside dim up"
trigger:
- platform: event
event_type: deconz_event
event_data:
id: bedside_switch
event: 1001
action:
- alias: "Repeat the sequence UNTIL stop event occurs"
repeat:
sequence:
#actions go here
until:
- condition: ????
????
the second event will be:
{
"event_type": "deconz_event",
"data": {
"id": "bedside_switch",
"unique_id": "",
"event": 1003,
"device_id": "ff9a8"
},
"origin": "REMOTE",
"time_fired": "+00:00",
"context": {
"id": "4eb5b",
"parent_id": null,
"user_id": null
}
}