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.

      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