{
  "type": "ALARM",
  "name": "High temperature",
  "debugSettings": {
    "failuresEnabled": true,
    "allEnabled": false,
    "allEnabledUntil": 1769767789971
  },
  "configurationVersion": 0,
  "configuration": {
    "type": "ALARM",
    "arguments": {
      "temperature": {
        "refEntityKey": {
          "key": "temperature",
          "type": "TS_LATEST"
        },
        "defaultValue": ""
      }
    },
    "createRules": {
      "CRITICAL": {
        "condition": {
          "type": "SIMPLE",
          "expression": {
            "type": "TBEL",
            "expression": "// Triggers when temperature is above 5 degrees\nreturn temperature > 5;"
          },
          "schedule": null
        },
        "alarmDetails": "${temperature}",
        "dashboardId": null
      }
    },
    "clearRule": {
      "condition": {
        "type": "SIMPLE",
        "expression": {
          "type": "TBEL",
          "expression": "// Triggers when temperature is greater than or equal to 5 degrees\nreturn temperature <= 5;"
        },
        "schedule": null
      },
      "alarmDetails": null,
      "dashboardId": null
    },
    "propagate": false,
    "propagateToOwner": false,
    "propagateToOwnerHierarchy": false,
    "propagateToTenant": false,
    "propagateRelationTypes": null,
    "output": null
  }
}
