This is a problem for us too. We've started to make ourselves turn the TV off if there is nothing on, and only turn it on when "our shows" come on. Then we watch together with no electronics.
I think the key for us is to find fun, relaxing activities to take the place of screen time. When there is "nothing else to do" we check out on our laptops. But all it takes is "hey, wanna take a walk?" or "it's nice out, let's light the fire pit."
Also, my baby has KICKED the phone out of my hand while nursing before. He's only three months old and can tell that I'm paying more attention to a screen. MOTY.