This is what I came up with for the 3.x line of ProfitUI to effectively prevent pets from being targeted:
OnHoverIn="target_allow_pet_member_toggle 0" OnHoverOut="target_allow_pet_member_toggle 1" OnPress="useability Cure Trauma
target_previous"
To cure yourself use the command target_allow_self_pet_toggle instead.
Anyone feel free to use that code.
