Small remark for the Demonic Emp. macro, put the main spell after the sound and error message fixes:
#showtooltip SPELLNAME
/run SetCVar("Sound_EnableSFX","0")
/petattack
/cast Demonic Empowerment
/script UIErrorsFrame:Clear()
/run SetCVar("Sound_EnableSFX","1")
/cast SPELLNAME
This way you still hear/see when you're out of range or silenced or something else