I think I cracked it. I hope this will help some people with the same issue.
0_1708581715011_uiflow_block_1708581446233.png
@ajb2k3 , I was looking at some of the comments regarding m5.lightsleep() and m5.deepsleep(). how can you wake the device up without a timer, is there a button press option?