IME once we put the TV on that's generally it until bedtime 😬I get to a certain point late afternoon that I just can't muster up the energy required to either coax them away from it without a meltdown or ignore/handle the resulting meltdown without snapping myself.
I started a rule that we do "something else" first but I don't mind what it is. When we were very in the grip of the flopping and wailing for TV, I just insisted on something short like a game of Uno and then let them put TV on after that. Once that was established and the normal habit, we started chatting on the way home about what we wanted to do when we got home and so the activities pre-TV got more and more engaging and longer lasting and 95% of the time we get to dinner without screens now. If they seem extra tired or the weather is shit it does go on a bit earlier than it would otherwise. If they do want to play screens, I have a rule of thumb in my own head which is that they need to ask for something specific AND they need to be polite and pleasant, not shouty or hyper, and then I set a timer on it so it doesn't drag on and on, and it's still not the first thing we do. I find that instantly throwing the TV on the moment we get home is such a pervasive habit and so hard to break that it's really worth interrupting it before it gets [re-]established. Once it's broken as a link, they (age 4 & 7) do all sorts of things - activity books, trampoline, lego, jigsaws, pretend games, art projects, lego, puzzle games, playdoh, hama beads, lego, board games, lego lego lego lego (it's a big theme right now in our house...)
If DH is home between dinner and bedtime, he will quite often get them engaged in something after dinner, join them in a game, or suggest a walk or similar (while I brain melt on MN) and he is pretty good at doing a tidy up time before bed as well. But a lot of the time, once the TV is on, it's on.
Next stage I suppose is more family dinners, no screens.