Property description

The automations property allows you to define your automation rules. While you can configure multiple rules in one JSON file, we recommend one rule per file for easier management.

Minimal JSON

{
  "schema": "https://schema.dawiso.com/automation-schema.json",
  "automations": [
    {
      "key": "",
      "name": ""
    }
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the automation rule.stringYes
nameName of the asset, used as the default EN translation.stringYes
actionActions the automation will execute when all conditions and rules are satisfied.arrayNo
descriptionDescription of the rule.stringNo
sortOrderOrder of the rule execution.integerNo
stateCurrent status of the rule. Supported options are: active: The rule is active., inactive: The rule is inactive and hidden.stringNo
streamAutomation conditions, selections, and filters.arrayNo
triggersTriggers of the automation rule.arrayNo

Circuit-breaker

Automation rules include a built-in circuit-breaker. If a rule fails 3 consecutive times, it is automatically disabled. The task log records: “Circuit breaker tripped: the last 3 runs failed. The automation has been disabled and must be re-enabled manually.”

To re-enable the rule, open it and toggle it back on. The failure threshold can be adjusted per environment in the environment configuration (env_config).