This is the last problem that I have after doing a somewhat difficult conversion of my main script from HS2.
Via a script.....
Create a new event. The group name is "MyCreatedEvents" and does not exist before the create new event.
Add a time trigger
Add a device action.
Set option to delete event after trigger.
Go to events list and I see the event and the settings that I applied. However, the time trigger is now the first triggger, but the manual trigger is still there. So the event shows...
time trigger AND manual trigger. Obviously, this will never trigger. Here is a cut and paste from
the manual on "EventSetTimeTrigger".
"The trigger is always the first trigger in the first trigger group. If the event already has a trigger in
the first trigger group, the group will be wiped out and replaced with this time trigger."
I apparently don't understand this since the manual trigger was not "wiped out".
Via a script.....
Create a new event. The group name is "MyCreatedEvents" and does not exist before the create new event.
Add a time trigger
Add a device action.
Set option to delete event after trigger.
Go to events list and I see the event and the settings that I applied. However, the time trigger is now the first triggger, but the manual trigger is still there. So the event shows...
time trigger AND manual trigger. Obviously, this will never trigger. Here is a cut and paste from
the manual on "EventSetTimeTrigger".
"The trigger is always the first trigger in the first trigger group. If the event already has a trigger in
the first trigger group, the group will be wiped out and replaced with this time trigger."
I apparently don't understand this since the manual trigger was not "wiped out".
Comment