API v3.7 Release Notes
This version of the API shipped with Indigo 2025.1.0 - check the API Version Chart to see what version of the API is available in which Indigo versions.
- Adds two new boolean conversion functions to
indigo.utils. - Adds iterators to both
indigo.Triggerandindigo.Scheduleinstances so that you can calldict(indigo_obj)on them to get a dict version. - Add optional ''event_data'' parameter to
indigo.actionGroup.executedo pass through triggering data. - Adds event_data to action dictionaries for plugin actions to get information about the triggering event:
def actionSomeXmlDefineActionCallback(self, action, dev, callerWaitingForResult, event_data=None):
# do your typical action stuff here
# note: event_data contains a dictionary of information about what caused the event to fire
return some_value