Is this the end of the bathroom pull-cord? Enter the  LoVoSwitch!

Other than a switch on the outside wall of a bathroom the humble pull-cord has been a mainstay for operating lights and fans in bathrooms since regulations barred switches in Zone 2.