Excited sorry you've had a crappy night. I've spent many an hour on the floor outside DD's room persuading her to go back to sleep as 'it's still sleepy time...'
A pre-emptive strike might work? If your DD's bladder is full by 5.30am so she needs to get up for the toilet or potty, how about putting her on the toilet or potty at 11pm / midnight or whenever you're about to go to bed? It may mean she doesn't need to wake up for a toilet trip at 5.30am? Of course, you might still have the pleasure of the 5.30 start for a couple of days until you ease her out of the unfortunate new routine she's adopted. We sometimes do the pre-emptive strike with our 3 year old DD at about 11pm, we plonk her on the potty or toilet, she usually manages to go without waking up.
Other more experienced Mums may have better suggestions. Good luck that you find a more useful approach than your DH's it's your fault and your problem
.