No problem, your welcome.
Just put in a delay. ON or OFF. Below is an example with the ON delay @ 10 seconds. Change to your liking.
binary_sensor:
- platform: template
sensors:
shower_door:
friendly_name: "Shower Doors"
device_class: door
icon_template: mdi:door
value_template: >-
{{ is_state('binary_sensor.your_shower_door_sensor_here', 'off')
delay_on:
seconds: 10
You can also look at this blueprint Bathroom Humidity Exhaust Fan it will do what you are trying to do and more. Have a look at the FAQ - My set up.
Blacky