Skip to content

Trigger node: hidden overrideDelay remains enabled after switching to «Wait to be Reset» #5969

Closed

Description

@groko-dile

Current Behavior

When the trigger node is changed from «Wait For» to «Wait to be Reset», the overrideDelay option disappears from the UI, but "overrideDelay": true remains in the exported node configuration.
As a result, the node still has the override enabled even though the corresponding option is no longer available in the UI.
In this state, the timer is started, but the timeout is never emitted.

Expected Behavior

Switching to «Wait to be Reset» should either remove/reset overrideDelay, or the option should remain available in the UI so that its state can be changed.
A configuration option that is no longer applicable/visible should not remain enabled in the exported node configuration.

Steps To Reproduce

  1. Create a trigger node. It is configured to use «Wait For».
  2. Enable «Override Delay» (overrideDelay: true).
  3. Export the flow and verify that "overrideDelay": true is present.
  4. Change the trigger mode from «Wait For» to «Wait to be Reset».
  5. Export the flow again.
  6. Observe that the Override Delay option is no longer shown in the editor, but "overrideDelay": true is still present in the node configuration.
  7. Deploy and observe that the leftover setting affects the node's behaviour — the timer is started, but the timeout is never emitted.

Example flow

After «steps to reproduce» 1):
[
{
"id": "32257e21cefd4010",
"type": "trigger",
"z": "4087f67b337f808b",
"name": "",
"op1": "1",
"op2": "0",
"op1type": "val",
"op2type": "val",
"duration": "250",
"extend": "false",
"overrideDelay": "false",
"units": "ms",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 280,
"y": 4720,
"wires": [
[]
]
}
]

After «steps to reproduce» 3):
[
{
"id": "32257e21cefd4010",
"type": "trigger",
"z": "4087f67b337f808b",
"name": "",
"op1": "1",
"op2": "0",
"op1type": "str",
"op2type": "str",
"duration": "5",
"extend": false,
"overrideDelay": true,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 260,
"y": 4720,
"wires": [
[
"18e0654613c68a4d"
]
]
}
]

After «steps to reproduce» 5):
[
{
"id": "32257e21cefd4010",
"type": "trigger",
"z": "4087f67b337f808b",
"name": "",
"op1": "1",
"op2": "0",
"op1type": "str",
"op2type": "str",
"duration": "0",
"extend": false,
"overrideDelay": true,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 280,
"y": 4720,
"wires": [
[
"18e0654613c68a4d"
]
]
}
]

The final non-working flow:
[
{
"id": "0281988ba146b03d",
"type": "inject",
"z": "4087f67b337f808b",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 100,
"y": 4720,
"wires": [
[
"32257e21cefd4010"
]
]
},
{
"id": "32257e21cefd4010",
"type": "trigger",
"z": "4087f67b337f808b",
"name": "",
"op1": "1",
"op2": "0",
"op1type": "str",
"op2type": "str",
"duration": "0",
"extend": false,
"overrideDelay": true,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 280,
"y": 4720,
"wires": [
[
"18e0654613c68a4d"
]
]
},
{
"id": "18e0654613c68a4d",
"type": "debug",
"z": "4087f67b337f808b",
"name": "debug 194",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 470,
"y": 4720,
"wires": []
}
]

Environment

Node-RED version: v5.0.7
Node.js version: v24.18.1
System: Home Assistant OS 18.3 (amd64/qemux86-64)
Home Assistant Core: 2026.9.3
Home Assistant Supervisor: 2026.09.2
Linux 6.18.52-haos x64 LE
Browser: Google Chrome version 153.0.8010.48 (Official Build) (64-bit)

Activity

  1. added a commit that references this issue on Oct 7, 2026
    0cbd79b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions