I wake up at 5am for work so I disconnect and unplug at 7:30pm. This gives me an hour to do my night ritual of hygiene, meditation, and get into bed. Then it takes about 15 minutes for me to fall asleep and that gives me 8 hours of sleep.
I usually disconnect and unplug after dinner. That way I have my habits marked off and then I’m present at home all evening