Hva har du automatisert i dag?

Selvfølgelig:)

{
  "Id": "RZkpMjqqct8va82",
  "ClassId": "RZkpMjqqct8va82",
  "Author": "lgrubbmo",
  "Version": 0,
  "CreatedAt": "2020-12-10T15:15:01.104436689+01:00",
  "UpdatedAt": "2020-12-10T15:36:45.066968198+01:00",
  "Name": "Vindu Bad",
  "Group": "Varsel",
  "Description": "Varsler om vindu er glemt åpent",
  "Nodes": [
    {
      "Id": "1",
      "Type": "trigger",
      "Label": "Vindu bad",
      "SuccessTransition": "5",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:evt/rt:dev/rn:zw/ad:1/sv:sensor_contact/ad:154_0",
      "Service": "sensor_contact",
      "ServiceInterface": "evt.open.report",
      "Config": {
        "ConnectorID": "",
        "InputVariableType": "",
        "IsValueFilterEnabled": false,
        "LookupServiceNameAndLocation": false,
        "PropFilterName": "",
        "PropFilterValue": "",
        "RegisterAsVirtualService": false,
        "Timeout": 0,
        "ValueFilter": {
          "Value": null,
          "ValueType": "bool"
        },
        "ValueJPath": "",
        "ValueJPathResultType": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": null
      },
      "Ui": {
        "nodeType": "",
        "x": 190,
        "y": 150
      },
      "TypeAlias": "Trigger"
    },
    {
      "Id": "2",
      "Type": "if",
      "Label": "open/close",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "",
            "Operand": "eq",
            "RightVariable": {
              "Value": true,
              "ValueType": "bool"
            }
          }
        ],
        "FalseTransition": "",
        "TrueTransition": "3"
      },
      "Ui": {
        "nodeType": "",
        "x": 162,
        "y": 496
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "3",
      "Type": "wait",
      "Label": "45 min",
      "SuccessTransition": "4",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": 2700000,
      "Ui": {
        "nodeType": "",
        "x": 161,
        "y": 656
      },
      "TypeAlias": "Delay"
    },
    {
      "Id": "4",
      "Type": "action",
      "Label": "Push notification",
      "SuccessTransition": "9",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:evt/rt:app/rn:kind_owl/ad:1",
      "Service": "kind-owl",
      "ServiceInterface": "evt.notification.report",
      "Config": {
        "DefaultValue": {
          "Value": {
            "EventName": "custom",
            "MessageContent": "Baderomsvindu er åpent!!",
            "SiteId": "059CDE55-3F6F-4384-9385-305BC3964806"
          },
          "ValueType": "object"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "notification_action",
        "x": 483,
        "y": 834
      },
      "TypeAlias": "Notification"
    },
    {
      "Id": "5",
      "Type": "set_variable",
      "Label": "",
      "SuccessTransition": "2",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultValue": {
          "Value": 0,
          "ValueType": ""
        },
        "Name": "Vindu Bad",
        "UpdateGlobal": false,
        "UpdateInputMsg": false
      },
      "Ui": {
        "nodeType": "",
        "x": 174,
        "y": 325
      },
      "TypeAlias": "Set variable"
    },
    {
      "Id": "7",
      "Type": "if",
      "Label": "Vindu åpent?",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "Vindu Bad",
            "Operand": "eq",
            "RightVariable": {
              "Value": true,
              "ValueType": "bool"
            }
          }
        ],
        "FalseTransition": "",
        "TrueTransition": "4"
      },
      "Ui": {
        "nodeType": "",
        "x": 607,
        "y": 491
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "8",
      "Type": "if",
      "Label": "fortsatt åpent?",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "Vindu Bad",
            "Operand": "eq",
            "RightVariable": {
              "Value": true,
              "ValueType": "bool"
            }
          }
        ],
        "FalseTransition": "",
        "TrueTransition": "4"
      },
      "Ui": {
        "nodeType": "",
        "x": 476,
        "y": 1183
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "9",
      "Type": "wait",
      "Label": "15 min",
      "SuccessTransition": "8",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": 900000,
      "Ui": {
        "nodeType": "",
        "x": 464,
        "y": 1014
      },
      "TypeAlias": "Delay"
    },
    {
      "Id": "10",
      "Type": "vinc_trigger",
      "Label": "Home event trigger",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "SuccessTransition": "11",
      "ErrorTransition": "",
      "Config": {
        "Timeout": 0,
        "ValueFilter": "",
        "IsValueFilterEnabled": false,
        "EventType": "mode"
      },
      "Ui": {
        "x": 615,
        "y": 158,
        "nodeType": ""
      },
      "TypeAlias": "Home event"
    },
    {
      "Id": "11",
      "Type": "if",
      "Label": "Natt/Ferie/Borte",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "SuccessTransition": "",
      "ErrorTransition": "",
      "Config": {
        "TrueTransition": "",
        "FalseTransition": "7",
        "Expression": [
          {
            "Operand": "eq",
            "LeftVariableName": "fh.home.mode",
            "LeftVariableIsGlobal": true,
            "RightVariable": {
              "Value": "home",
              "ValueType": "string"
            },
            "BooleanOperator": ""
          }
        ]
      },
      "Ui": {
        "x": 623,
        "y": 320,
        "nodeType": ""
      },
      "TypeAlias": "If condition"
    }
  ],
  "Settings": null,
  "IsDisabled": false,
  "IsDefault": false,
  "ParallelExecution": "keep_last"
}