In a WC no problem.
In en suite with bath/shower must comply to zonal areas.
I assume its a motion sensor you are asking about, you can buy them so they are IP rated and splash proof and not only wall mounted but ceiling mounted too, which could well help regarding the zones.
But if not set right or not over sensitive, could find yourself sat on the toilet reading the Daily Mail in the dark
If you need to find a tradesperson to get your job done, please try our local search below,
or if you are doing it yourself you can find suppliers local to you.
Select the supplier or trade you require, enter your location to begin your search.
Please select a service and enter a location to continue...
Are you a trade or supplier? You can create your listing free at DIYnot Local