How to check if someone is in bath?

I run our master bathroom fan based on this. Have an Aeotec sensor in there and use this AVERAGE sensor to calculate the average humidity in the room:

It’s available via HACS as ‘Average Sensor’ [GitHub - Limych/ha-average: Average Sensor for Home Assistant]

Personally I then use automations to turn on the fan when the current humidity is 9% greater than average and off when it’s back below that threshold.

Hope it helps!