If the mailbox is outside, you could suppress the message shortly after the front door opened.
Otherwise it might be best to leave it as is. Getting the notification when you know to expect it is probably better than missing a notification because the rule isn’t perfect, especially when you are waiting for a package.
I’m using a Aquara vibration sensor for this. Postal service is once a day so after vibration was detected my flow is deactivated until the next day 07:00 AM.
In the “Then…” section:
– add card → Flow → Disable a flow → Choose the relevant flow
But you have to activate the Flow again. You can do it in the same flow in the “Then…” section:
– add card → Flow → Activate a flow → Choose the relevant flow → Delay x minutes
In general there are several ways to optimize a mailbox.
I have a normal mailbox without a parcel box.
I have a door sensor on the insertion flap, as @Marcel_Ubels has already suggested, and a door/tilt sensor on the removal flap.
When a letter is dropped in and I am not home, I get a push message. But if I am home, I get an announcement through my Sonos.
When I get home and the mailbox hasn’t been emptied yet, I get a new push message to remember to get the mail.
And so on…
I use an Aqara vibration sensor and sits on the ba beside of my postbox. The postman usually drops the top of the postbox so that the sensor catches the vibration and notifies my on that way… and when I retrieve the mail it usually sends one more. Maybe smart to do as you want, to disable the flow. Then I only get one notification a day
This is my notification (in Swedish) using Pushover: