You could bypass the trigger and reset it and use a filter node.
[{"id":"449387a4bb6fbe05","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":150,"y":7800,"wires":[["7ca0a89a50dc4668"]]},{"id":"7ca0a89a50dc4668","type":"trigger","z":"d1395164b4eec73e","name":"","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"false","bytopic":"all","topic":"topic","outputs":1,"x":340,"y":7800,"wires":[["a203938da5027e6b"]]},{"id":"3b7c015f5db82fb5","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":150,"y":7860,"wires":[["a203938da5027e6b","7ca0a89a50dc4668"]]},{"id":"a203938da5027e6b","type":"rbe","z":"d1395164b4eec73e","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":530,"y":7800,"wires":[["9e8a0d270c935eaf"]]},{"id":"9e8a0d270c935eaf","type":"template","z":"d1395164b4eec73e","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{#payload}}The door has been open some time{{/payload}}{{^payload}}The door is closed{{/payload}}","output":"str","x":680,"y":7800,"wires":[["c7105a45c5dcf4c2"]]},{"id":"c7105a45c5dcf4c2","type":"debug","z":"d1395164b4eec73e","name":"debug 2576","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":650,"y":7920,"wires":[]}]