Timer for home assistant

Id love to set up a timer condition in my automations but I wonder , what do i need to put in config.yaml to make it work ? I dont need a specific timer for 1 build only but several ones and different durations what do I need for that?