| Next revision | Previous revision |
| indigo_2025.1_documentation:trigger_class [2025/09/22 19:58] – created - external edit 127.0.0.1 | indigo_2025.1_documentation:trigger_class [2026/04/07 18:27] (current) – external edit 127.0.0.1 |
|---|
| |
| ^ Property ^ Type ^ Writable ^ Description ^ | ^ Property ^ Type ^ Writable ^ Description ^ |
| |//''actions''//| list of [[action_class|Action]] | Yes |a list of Action objects (action steps in AS) that are executed for this trigger **Not yet implemented**| | |
| |//''description''//| string | Yes |description of the trigger| | |//''description''//| string | Yes |description of the trigger| |
| |//''enabled''//| boolean | Yes |true if this trigger is enabled| | |//''enabled''//| boolean | Yes |true if this trigger is enabled| |
| |
| ^ Command Syntax Examples ^ | ^ Command Syntax Examples ^ |
| |<code>indigo.trigger.enable(12,value=False)</code>| | |<code>indigo.trigger.enable(123,value=False)</code>| |
| |<code>indigo.trigger.enable(12,value=True)</code>| | |<code>indigo.trigger.enable(123,value=True)</code>| |
| |<code>indigo.trigger.enable(12, value=True, duration=360, delay=60)</code>| | |<code>indigo.trigger.enable(123, value=True, duration=360, delay=60)</code>| |
| |
| ^ Parameters ^^^^ | ^ Parameters ^^^^ |
| |
| ^ Command Syntax Examples ^ | ^ Command Syntax Examples ^ |
| |<code>depDict = indigo.trigger.getDependencies(123)</code>| | |<code>indigo.trigger.getDependencies(123)</code>| |
| |
| ^ Parameters ^^^^ | ^ Parameters ^^^^ |