Ignore doorbell when my smartphone is close or even connected

Hi, can I ignore the doorbell when my smartphone is close or connected? I cannot find any configuration here, only that I am able to ignore (e.g. ring-to-open) it forever.

Thanks,
Thorsten