Bathrooms and Showers¶
A bathroom is the hardest room for presence detection. Motion sensors can't see someone standing in the shower or lying in the bath, and the two signals a shower does produce, humidity and warmth, are poor at saying when someone has left.
What happens with motion alone¶
With only a motion sensor and a humidity sensor, a bathroom can read empty partway through a shower. Once the last motion has faded the room clears, typically 10 to 13 minutes after the last movement, even with humidity at 99%.
Humidity can't hold the room on its own, for a good reason. After someone leaves, a bathroom stays humid for a long time: near saturation for about 20 minutes, and above its usual occupied level for 40 to 90 minutes without an extractor fan. If humidity were trusted to hold the room, it would read occupied for that long after an empty shower.
AOD still uses humidity and temperature: they detect the Showering activity, which raises the probability while the room is occupied. They can't keep an empty-looking room occupied.
Sensors that fix it¶
The reliable fix is a sensor that is on exactly while someone is in the shower or bath, added to the area as a motion sensor. Motion-type sensors are the ones AOD trusts to hold a room: while one is on, the area reads at least 75%, and when it goes off the room fades over the purpose's half-life as usual. Appliance and power sensors only nudge the probability, which isn't enough to hold a bathroom whose learned prior is a few per cent.
| Signal | How to add it |
|---|---|
| mmWave presence sensor | Add it as a motion sensor. It sees people who are still. Check it can see through the shower screen: steam and glass confuse some models. |
| Water flow on the shower supply | Use or make a binary sensor that is on while water flows, show it as Occupancy, and add it as a motion sensor. |
| Electric shower or shower pump power | Make a threshold helper, or a template binary sensor, that is on above standby power, show it as Occupancy, and add it as a motion sensor. |
| Extractor fan | The same, but only if the fan runs while the room is in use (on with the light), not on an overrun timer that keeps it running after you've left. |
| Door sensor | Turn on Closed door means still occupied for the area. It is ideal for households that close the bathroom door. See the closed-door hold. |
To show a binary sensor as Occupancy, open the entity's settings in Home Assistant and set Show as to Occupancy. Template and threshold helpers have the same option. It then appears in the area's motion sensor list.
Each of these says someone is in there now, and goes off when they stop. A bath is the same: a door sensor or mmWave covers it best, because water flow stops once the bath is full.
Without those sensors¶
If you only have motion and humidity:
- Put the motion sensor where it sees the shower or bath, not just the doorway or sink.
- Keep the area's purpose as Bathroom. Its 7.5-minute half-life is chosen for bathroom visits, and it lets the room detect Showering and Bathing.
- In automations, a delay of a minute or two before turning a light off helps only a little: in one home the motion came back about five minutes after the room cleared mid-shower, so a short delay would still have switched the light off. Treat it as a partial mitigation, not a fix; the sensors above are the fix.
What AOD is learning¶
From 2026.11.2, AOD runs a showering decay stretch in shadow mode for every area with a humidity sensor. It changes nothing: it records what would have happened if the room had decayed more slowly while Showering was detected and humidity was still high, ending the stretch as soon as humidity starts to fall. It counts the false vacancies the stretch would have avoided, and the extra minutes it would have kept the room occupied after someone left. The results are in the area's diagnostics under shower_stretch. If they show it helps without holding empty rooms, it can become the default in a later release.