Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| indigo_2025.1_documentation:plugin_scripting_tutorial [2025/10/22 02:43] – [Event Data Examples] davel17 | indigo_2025.1_documentation:plugin_scripting_tutorial [2025/10/22 15:27] (current) – [Execute Action Group 12345678:] jay | ||
|---|---|---|---|
| Line 154: | Line 154: | ||
| </ | </ | ||
| - | Custom Python classes that you create can implement the %%__str__(self)%% method. Take this simple example: | + | Custom Python classes that you create can implement the //'' |
| < | < | ||
| Line 192: | Line 192: | ||
| ===Execute Action Group 12345678: | ===Execute Action Group 12345678: | ||
| + | Execute an action group: | ||
| < | < | ||
| indigo.actionGroup.execute(12345678) | indigo.actionGroup.execute(12345678) | ||
| </ | </ | ||
| + | ===Execute Action Group 12345678 with extra event data:=== | ||
| + | Execute an action group, but pass through an arbitrary dictionary of data to actions that support using **event_data**: | ||
| + | < | ||
| + | extra_data = {" | ||
| + | indigo.actionGroup.execute(12345678, | ||
| + | </ | ||
| ==== Log Examples ==== | ==== Log Examples ==== | ||