If you want to keep this in NR, you can use a trigger state that will disable itself until the door is closed. Using a regex in the trigger, it will find all persons and fire when a person enters home.
[{"id":"3ca4603c763ccd79","type":"trigger-state","z":"0a325c35fc29f44e","name":"","server":"","version":4,"inputs":1,"outputs":2,"exposeAsEntityConfig":"","entityId":"^person\\..*$","entityIdType":"regex","debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"home"},{"targetType":"this_entity","targetValue":"","propertyType":"previous_state","propertyValue":"old_state.state","comparatorType":"is_not","comparatorValueDatatype":"str","comparatorValue":"home"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":true,"x":510,"y":6340,"wires":[["29bfd5d776c10f6b","18196366851fc2bd"],[]]},{"id":"29bfd5d776c10f6b","type":"change","z":"0a325c35fc29f44e","name":"disable automation","rules":[{"t":"set","p":"payload","pt":"msg","to":"disable","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":770,"y":6280,"wires":[["3ca4603c763ccd79"]]},{"id":"18196366851fc2bd","type":"api-call-service","z":"0a325c35fc29f44e","name":"open door","server":"","version":5,"debugenabled":false,"domain":"","service":"","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":790,"y":6340,"wires":[[]]},{"id":"fa141200ec59b7c4","type":"server-state-changed","z":"0a325c35fc29f44e","name":"enable door closes","server":"","version":5,"outputs":2,"exposeAsEntityConfig":"","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"closed","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"enable","valueType":"str"}],"x":230,"y":6340,"wires":[["3ca4603c763ccd79"],[]]}]