Value filter in trigger

solved it:)

used home event triggers, and created this action for handling autolock on/off (value “255”/“0”) Then I could disable autolock in home mode, and enable in all other modes.

 {
      "Id": "20",
      "Type": "action",
      "Label": "",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zigbee/ad:1/sv:doorman/ad:8_1",
      "Service": "doorman",
      "ServiceInterface": "cmd.doorman_param.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "parameter_id": "2",
            "value": "255"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "true",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 1046,
        "y": 447
      },
      "TypeAlias": "Action",
      "LastValue": true
    },
1 Like