Hold notifications then deliver later

I need some help. I want to create a flow or addition to flows that will hold certain notifications while I am asleep then deliver them 30 minutes after I wake up.

I have my CPAP machine plugged into a smart power strip with power monitoring. When the CPAP is running the power goes up and toggles in Homey that I am asleep or awake.

Now I have several flows that alert me except when I am asleep. I want Homey to hold the notification until 30 minutes after Homey tags I wake up after I take off the CPAP and the power drops.

I am not sure if it should be added to each flow with a notification or if I need to create a new flow to govern the notifications…

Perhaps you could have a look at ideas suggested in the posts in Delayed push message.

My thoughts went to put it in a variable (which also been suggested in that post), but perhaps one of the other ideas could help you better.

You could add a different timer for each notification that restarts itself as long you are asleep. When you are wake up the timer doesn’t restart and ends. When the timer ends wait 30 minutes before sending the notification.

Just being curious because i don’t understand it:

How does a notification that is created by a flow now (based on your flow at the time “Wim post is not awake” is true) being stored/saved and only send when (Based on your flow) “Wim post is awake” ?

In the flow from the topicstarter the ‘send-notification’-card should be replaced by everything starting from ‘start-button’.
So this is not a separate flow.