AOD only when missed call or notification


Oct 3, 2019
I was wondering if there is any possibility for AOD in works only when there's waiting notification - for example missed call, SMS, message? Like a replacement for notification LED which some our phones didn't get? I tried to work with Tasker and Macrodroid (users made even ready scripts for it), but it's not working. It sometimes trigger AOD, but after I wake screen - which is, in this case, somewhat useless ;)
Have anyone tried and get it to work? Or maybe there's better way to do it? I like AOD, but sometimes it's battery consuming and not always needed - but as notification LED replacement it could be perfect - if it worked :)