Hi Harry, if you are in the bathroom and you are removing humidity could I suggest you have a look at my Bathroom Humidity Exhaust Fan. Once you set it up correctly you will wonder how you lived without it. You then will have 2 automations in your bathroom and they work perfectly together. You will then achieve what you are trying to do.
Blacky