Status issues whit one button

Hi
I have an automation for ventilation, and i have a PowerVent button (whit a helper) that, if I press it, changes the ventilation for 15 minutes. My problem is that the status of the button does not change after 15 minutes, it stays ON. I wonder how I can solve it so that after the time has passed, the status of the button changes back to OFF. Maybe if there could be a small timer that counts backwards from 15.
Thank you in advance for your help.

[{"id":"2ed7ba01c3b4d886","type":"tab","label":"Levegozteto","disabled":false,"info":"","env":[]},{"id":"4f524e83141c155a","type":"switch","z":"2ed7ba01c3b4d886","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"700","vt":"num"},{"t":"btwn","v":"701","vt":"num","v2":"850","v2t":"num"},{"t":"btwn","v":"851","vt":"num","v2":"1000","v2t":"num"},{"t":"btwn","v":"1001","vt":"num","v2":"1200","v2t":"num"},{"t":"gte","v":"1201","vt":"num"}],"checkall":"true","repair":false,"outputs":5,"x":350,"y":120,"wires":[["e2822680692317de"],["f8701e28d16f727d"],["16d05a605a05b876"],["559a8b426b1f7ea8"],["2361c6a930b9b179"]]},{"id":"7131b9d46bfc8f93","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode 20%","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"set_fan_mode","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"{\"fan_mode\":\"20%\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":80,"wires":[["d7a6fbe26ceb23ac"]]},{"id":"da8c8abdfa6274ca","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode 40%","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"set_fan_mode","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"{\"fan_mode\":\"40%\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":120,"wires":[["d7a6fbe26ceb23ac"]]},{"id":"95f93b3c7929de4f","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode 60%","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"set_fan_mode","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"{\"fan_mode\":\"60%\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":160,"wires":[["d7a6fbe26ceb23ac"]]},{"id":"639b72d83971b652","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode 80%","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"set_fan_mode","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"{\"fan_mode\":\"80%\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":200,"wires":[["d7a6fbe26ceb23ac"]]},{"id":"e2822680692317de","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode OFF","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_off","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":560,"y":20,"wires":[["d7a6fbe26ceb23ac"]]},{"id":"f8701e28d16f727d","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"Turn on","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":540,"y":80,"wires":[["7131b9d46bfc8f93"]]},{"id":"16d05a605a05b876","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"Turn on","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":540,"y":120,"wires":[["da8c8abdfa6274ca"]]},{"id":"559a8b426b1f7ea8","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"Turn on","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":540,"y":160,"wires":[["95f93b3c7929de4f"]]},{"id":"2361c6a930b9b179","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"Turn on","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":540,"y":200,"wires":[["639b72d83971b652"]]},{"id":"1fecd4441479d4fc","type":"delay","z":"2ed7ba01c3b4d886","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":850,"y":360,"wires":[["00f7092e4c9c4007"]]},{"id":"28023ce350532669","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"Turn on","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":380,"y":280,"wires":[["aa215335bf8d8288"]]},{"id":"aa215335bf8d8288","type":"api-call-service","z":"2ed7ba01c3b4d886","name":"fan_mode 80%","server":"edd72b32.24ff98","version":5,"debugenabled":false,"domain":"climate","service":"set_fan_mode","areaId":[],"deviceId":["235068cfa1cddf95f8c6a48109181b98"],"entityId":["climate.atrea"],"data":"{\"fan_mode\":\"80%\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":600,"y":340,"wires":[["1fecd4441479d4fc"]]},{"id":"83b9cfdf2aa4e5c3","type":"server-state-changed","z":"2ed7ba01c3b4d886","name":"PowerVent  Button","server":"edd72b32.24ff98","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.power_vent","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":130,"y":280,"wires":[["28023ce350532669"],[]]},{"id":"00f7092e4c9c4007","type":"api-current-state","z":"2ed7ba01c3b4d886","name":"","server":"edd72b32.24ff98","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.co2","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":150,"y":160,"wires":[["4f524e83141c155a"]]},{"id":"d7a6fbe26ceb23ac","type":"delay","z":"2ed7ba01c3b4d886","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1050,"y":280,"wires":[["00f7092e4c9c4007"]]},{"id":"edd72b32.24ff98","type":"server","name":"Home Assistant","addon":true}]

Put a delay node in and then call off after that.

Could you be a bit more specific? Unfortunately, I’m a beginner

I could first see your entire flow now and you almost got it.
Just put a second node after the 15m delay node
It should be a call service node that sets the input_boolean.power_vent to turn_off.

Thanks a lot it works fine now