Hello i made this macro today, it will cast solace, penance and Cascade on cooldown. It will also cast prayer of mending with a slight delay as i always find my PoM not used up on the cooldown.
When its not casting any of those it will spam smite.
The [nochanneling] part of the macro avoids penance being interrupted which i experienced with all other macros i tried.
/console Sound_EnableSFX 0
#showtooltip
/castsequence [@player] [nochanneling] reset=0.3 0,0,0,0, prayer of mending
/castsequence [nochanneling] reset=0.3 0,0,0, Smite
/castsequence [nochanneling] reset=0.3 0,0, Holy Fire
/castsequence [nochanneling] reset=0.3 0, Penance
/cast [@player] [nochanneling] !Cascade
/cast [nochanneling] !Archangel
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
Try it out