How to receive messages more often than once a minute?

I have a code by which when they ring the doorbell, I receive a message in Telegram, which lines I need to add to my code so that I receive such messages, say, no more than once a minute. Because now, every time someone presses the doorbell button 10 times, I receive 10 notifications, and I want the notification to come one during the time I set.
I present my code below.


- id: door_bell

        alias: start_message

        initial_state: true

        trigger:   

            - platform: state

              entity_id: binary_sensor.door_window_sensor_xxxxxxxxxxxxx

              to: 'off'      

        action:          

            - service: notify.telegram_all

              data:

                message: |

                  {{"\U0001F514"}}{{"\U0001F514"}} "Someone is ringing the doorbell - {{ states('sensor.time') }}"
      - id: door_bell
        alias: start_message
        initial_state: true
        mode: single
        max_exceeded: 'silent'
        trigger:   
            - platform: state
              entity_id: binary_sensor.door_window_sensor_xxxxxxxxxxxxx
              to: 'off'      
        action:          
            - service: notify.telegram_all
              data:
                message: |
                  {{"\U0001F514"}}{{"\U0001F514"}} "Someone is ringing the doorbell - {{ states('sensor.time') }}"
            - delay: "00:01:00"

This works because the default automation mode is ‘single’. So as long as this one is running, all future ones wont run until it’s complete. And it wont be complete for 1 minute because of the delay.

I added max_exceeded to the config so you don’t get a warning in the log for every doorbell press in that 1 minute. That’s optional.