Delete a recurring event
The connector can delete a special event by sending a DELETE_RECURRING_EVENT command to any schedule in a device.
Prerequisite
You must target:
- an existing Device with a DeviceExt through the deviceId.
- an existing ControlSchedule (BooleanSchedule, EnumSchedule, NumericSchedule or StringSchedule) with a ScheduleExt through the scheduleId.
- an existing recurring event through the eventId.
Example
Example
CODE
{
"type": "DELETE_RECURRING_EVENT",
"deviceId": "Folder_I0Stk9eSboFsjerkRdyA6",
"scheduleId": "BooleanSchedule_l0StkHQXUQFVrZuej7UiA",
"eventId": "MyId"
}
The way that the different values are extracted from the Json can be changed in the connector advanced config.