How to fire an event in plugin.py?
Posted: Sun Dec 29, 2019 2:25 pm
Apologies for the fairly basic question, but I can't seem to track down an answer in the SDK docs or searching in this forum.
I've defined an event in Events.xml:
How do I fire off this event in plugin.py? I assume it is a call along the lines of indigo.event.fire, but can't find the correct syntax.
Thanks in advance!
I've defined an event in Events.xml:
- Code: Select all
<?xml version="1.0"?>
<Events>
<Event id="videoDownloadCompleteEvent">
<Name>Video Download Complete</Name>
</Event>
</Events>
How do I fire off this event in plugin.py? I assume it is a call along the lines of indigo.event.fire, but can't find the correct syntax.
Thanks in advance!