You can give dogs negative attention! Telling them off like you would a child works, well, no shouting, just a clear stern voice. This way you can prevent your dog becoming the supreme overlord of the household (mostly, they will still be #1).
Yep! Same for cats, both also fucking hate being ignored. Maybe not when they’re in a sassy mode. Even if cats are more independents (and it applies less) both generally like the approval of their owners/pack members. I’ve had both also recognise when I’m using a stern tone and when I give them the “what the fuck do you think you’re doing” look.