Smart Home Assistant

Home Assistant Mould Alert: Warn Before Damp Starts (UK)

SepehrBy Sepehr· 6 November 2026· Updated 6 November 2026· 7 min read
✓ Independent — no paid placements✓ UK-tested in real homes✓ Cited sources
Close-up of condensation droplets covering a window pane with blurred buildings visible beyond the glass

Key takeaways

  • Home Assistant's Mold Indicator helper estimates humidity at your coldest surface, where mould actually grows, instead of the room average.
  • Calibrate it once on a cold day: (indoor - outdoor) divided by (cold spot - outdoor) gives the calibration factor.
  • The Home Assistant docs link mould growth to humidity above about 70% near a cold surface, and condensation at 100%.
  • Trigger the alert only when the value stays above 70% for around two hours, so showers and cooking do not cause false alarms.
  • An alert only warns you; wiping off mould alone does not stop it returning, so fix ventilation, heating or leaks too.
On this page[tap to expand]

A Home Assistant mould alert uses the built-in Mold Indicator helper to estimate how humid the air is against your coldest wall or window, then notifies you when that figure stays high. It takes about 30 minutes, three sensors and one calibration measurement.

The idea is simple. Your room humidity sensor tells you about the middle of the room, but mould grows on the cold surfaces where that air cools down. The helper does the maths for the cold spot, so you get warned about the corner that is actually at risk rather than the room average.

What do you need before you start?

  • An indoor temperature and humidity sensor in the problem room. Any Zigbee, Thread or Wi-Fi sensor that Home Assistant exposes as two entities works. Our temperature and humidity sensor roundup covers decent options.
  • An outdoor temperature source. A sensor outside is best, but a weather integration entity such as the Met Office temperature also works; the Home Assistant docs use a weather temperature sensor in their own example.
  • A way to measure the cold spot once. A cheap infrared thermometer or a second sensor taped to the coldest surface for an hour.
  • The Companion app so the alert reaches your phone. If it is not set up, start with the notifications guide.

Why does mould grow where a humidity sensor says the room is fine?

Mould grows on cold surfaces because air touching them cools, so its relative humidity climbs even when the room reading looks normal. The Home Assistant documentation says humidity near a cold surface may lead to mould growth at more than about 70% and causes condensation at 100%.

That is why a room that reads 55% can still have black spots behind a wardrobe on an external wall. The UK government guidance on damp and mould says condensation is one of the most common causes of damp and mould in homes, and that simply removing surface mould will not stop it coming back. Monitoring tells you when conditions are building, which is the part you can automate; fixing the underlying ventilation, heating or building defect is still a human job.

Step 1: Check your three source sensors

Open Settings > Devices & services > Entities and find the three entities the helper needs: indoor temperature, indoor humidity and outdoor temperature. Note their entity IDs, for example sensor.bedroom_temperature, sensor.bedroom_humidity and sensor.outdoor_temperature.

Check each one has a sensible, recent value on its history graph. A sensor that drops to unavailable overnight will make the helper unavailable too, and a badly placed one skews everything. Keep the indoor sensor away from radiators and out of direct sun, and put it on the same side of the room as the cold surface if you can. A shelf at roughly head height on an inside wall gives the most representative reading.

Step 2: Work out your calibration factor

The calibration factor tells the helper how close your coldest surface gets to the outdoor temperature. The Home Assistant docs give this formula: calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor), where the critical point is the coldest spot in the room, typically near the window frames.

Do the measurement on a cold day, because the docs recommend a significant indoor to outdoor temperature difference for the best result. At the same moment, write down three numbers: the indoor sensor, the outdoor sensor and the surface temperature at the cold spot measured with your thermometer.

As an illustration only (these are not figures from the docs): if the room is 20°C, outside is 0°C and the window frame measures 10°C, the factor is (20 - 0) / (10 - 0) = 2.0. A colder surface, say 8°C, gives (20 - 0) / (8 - 0) = 2.5. The colder the spot compared with the room, the higher the number.

A rougher number is fine to begin with. You can always edit the factor later, and the helper's output will still move in the right direction as the weather changes. Re-measure if you add secondary glazing or insulation, because the cold spot will warm up and the factor drops.

Step 3: Create the Mold Indicator helper

Go to Settings > Devices & services > Helpers > Create helper > Mold Indicator. The form asks for a name, the indoor temperature sensor, the indoor humidity sensor, the outdoor temperature sensor and the calibration factor you just calculated.

Name it after the room and surface, for example Bedroom window mould risk, so alerts make sense when they arrive on your phone. Submit, and a new sensor appears. Its value is a relative humidity percentage near the cold surface, calculated from the dew point, so it behaves like a humidity reading rather than a pass/fail flag.

If you prefer YAML, the same integration is still documented as a sensor platform in configuration.yaml:

sensor:
  - platform: mold_indicator
    name: Bedroom window mould risk
    indoor_temp_sensor: sensor.bedroom_temperature
    indoor_humidity_sensor: sensor.bedroom_humidity
    outdoor_temp_sensor: sensor.outdoor_temperature
    calibration_factor: 2.0
    unique_id: bedroom_window_mould_risk

Restart Home Assistant after editing YAML. For most readers the helper in the UI is the easier route, and it can be changed later without touching files.

Step 4: Watch it for a few days before you automate

Add the new sensor to a history graph card next to the indoor humidity sensor and leave it for a few days that include a shower, cooking and an overnight period. You are looking for how the figure behaves in your home, not for a single magic number.

Expect it to read noticeably higher than the room humidity, because the surface is colder than the air. If it sits permanently above 70% even on mild, dry days, your calibration factor is probably too high or a sensor is in a damp spot. If it never moves above 50% even when the window streams with condensation, the factor is too low. Nudge it and compare against what you can see on the glass. This tuning step is the difference between an alert you trust and one you mute.

Step 5: Create the mould-risk notification

Create an automation with a numeric state trigger on the helper and a delay, so a steamy shower does not notify you but an overnight problem does. Home Assistant's numeric state trigger supports an above value and a for duration, which is exactly what you need:

alias: Bedroom mould risk alert
triggers:
  - trigger: numeric_state
    entity_id: sensor.bedroom_window_mould_risk
    above: 70
    for: "02:00:00"
conditions: []
actions:
  - action: notify.mobile_app_your_phone
    data:
      title: "Mould risk in the bedroom"
      message: >
        The cold surface has been above 70% humidity for two hours.
        Open a window or run the extractor, and check heating.
mode: single

Swap notify.mobile_app_your_phone for your own notify action. The 70% threshold comes from the figure in the Home Assistant docs; the two-hour delay is a sensible starting point of mine rather than an official figure, so lengthen it if you get nuisance alerts after showers or shorten it for a bedroom you are worried about.

If the room also has a smart dehumidifier or a fan on a smart plug, you can add a second action that switches it on. Our smart dehumidifier guide lists models that Home Assistant can control, and a repeat alert once a day while the sensor stays above the threshold stops the warning being forgotten.

Step 6: Add a daily summary or an all-clear

An alert that only ever says bad news is easy to ignore. Add a second automation that fires when the helper drops back below about 65% for 30 minutes and sends a short all-clear, or a morning notification that tells you the overnight peak. The all-clear confirms that whatever you did, whether opening a window, running a fan or turning the heating up a degree, actually worked.

The heating side matters too. Warmer walls reduce condensation, which is why a steady low background temperature usually beats short, intense bursts. Our guide on turning the heating off when a window is open pairs well with this one, because airing a damp room is worth the heat when the helper says the air is saturated.

Why is the Mold Indicator sensor unavailable or stuck?

The sensor shows unavailable: one of the three source sensors is unavailable or has no numeric state. Fix the source first, for example by replacing a flat battery or moving a Zigbee sensor closer to a router or mains-powered repeater, and the helper recovers by itself.

The value is always very high: the calibration factor is probably too large, or the indoor humidity sensor sits next to a kettle, bathroom door or drying rack. Recalculate the factor using a fresh cold-day measurement and move the sensor.

The value never changes much: check that the outdoor entity is a real temperature in the same unit as the indoor one and is updating. A weather entity that has stopped refreshing will freeze the result.

It disagrees with a visible damp patch: the helper models a single surface in a single room. A patch in a different corner, behind furniture, or caused by a leak, rising damp or a failed seal is a building problem, not a humidity-sensor one. A moisture meter and a professional survey are the right next step, and tenants should report it to their landlord in writing. The government guidance also warns that blaming damp and mould on lifestyle choices is unreasonable.

What to do next

Repeat the helper for each problem room, giving each its own calibration factor, since a north-facing bedroom behaves very differently from a south-facing living room. Pair the alerts with a wider monitor, such as the sensors covered in our indoor air quality monitor guide, and keep an eye on winter cold snaps with the frost alert automation. Used together they give you early warning on both sides of a UK winter: too cold and too damp.

Buy the picks in this guide

Recommended for Home Automation

See all devices →

Frequently asked questions

How do I set up a mould alert in Home Assistant?
Create the Mold Indicator helper under Settings, Devices and services, Helpers, then give it your indoor temperature sensor, indoor humidity sensor, outdoor temperature sensor and a calibration factor. The factor comes from measuring your coldest surface once and using the formula in the Home Assistant docs. Once the helper exists, add an automation with a numeric state trigger on it, set above 70 and for two hours, that sends a phone notification. The 70% figure comes from the Home Assistant documentation, which links mould growth to humidity above about that level near a cold surface. The caveat is that the helper only models one surface in one room, so create one per problem room and treat it as an early warning rather than a diagnosis.
What humidity level causes mould?
The Home Assistant Mold Indicator documentation says humidity near a cold surface may lead to mould growth at more than about 70%, and causes condensation at 100%. That is why the helper reports the humidity at the cold surface, not just in the room. Your living room might read 55% while the air touching an uninsulated corner is far higher because it is colder. Treat 70% as a practical alert level rather than a hard rule, since mould also depends on how long conditions last, the material and the temperature. The government's damp and mould guidance also stresses ventilation and heating, and that wiping off surface mould alone will not stop it returning, so use the alert to act on the cause.
How do I find the Mold Indicator calibration factor?
Measure three temperatures at the same moment on a cold day: the indoor sensor, the outdoor sensor and the surface at your coldest spot, usually near the window frame. Then calculate the indoor temperature minus the outdoor temperature, divided by the cold-spot temperature minus the outdoor temperature. For example, a 20°C room, 0°C outside and a 10°C window frame gives 2.0; that example is mine, not from the docs. The Home Assistant docs recommend a significant indoor to outdoor difference for the best calibration. The caveat is that a rough factor is fine to start with, and you can edit it later by comparing the helper with what you see on the glass. Recalculate it after adding insulation or secondary glazing.
Can Home Assistant turn on a dehumidifier automatically when mould risk is high?
Yes. Use the same numeric state trigger as the notification, or a second automation, and call a switch or humidifier action on the device that controls your dehumidifier or extractor fan. That works with any dehumidifier on a smart plug, or with models that have their own Home Assistant integration. Add a condition or a second trigger to switch it off again once the helper drops below roughly 65%, so it does not run all night. The caveat is that a dehumidifier treats the symptom and uses electricity, so it is a sensible stopgap, not a fix for poor ventilation, a leak or cold bridging. Check that the smart plug is rated for the dehumidifier's power draw before relying on it.

Sources

Sources verified 2026-11-06

  1. Home Assistant — Mold Indicator integration
  2. Home Assistant — Automation trigger: numeric state trigger
  3. GOV.UK — Understanding and addressing the health risks of damp and mould in the home
  4. Wikimedia Commons — Window condensation 12022021.jpg (public domain)
›How we researched this

Claims in this article are checked against primary sources — manufacturer specifications, official documentation, Which? research, Ofgem guidance, or gov.uk — rather than forum threads or video reviews. Where the author has direct hands-on experience with a product (most Home Assistant, Zigbee, and home-networking gear is running in his own homelab), that is stated explicitly in the text.

For categories outside that personal setup — such as boilers, heat pumps, and other areas that are traditionally a heating engineer's domain — verdicts are built from cross-referenced manufacturer data, published lab results, and vetted expert and owner reviews rather than a claim of personal hands-on testing. See the editorial policy for the full methodology.

Sepehr

Written by

Sepehr

10+ years hands-on with Home Assistant & networking · Research-backed elsewhere · No brand deals

Smart home specialist with 10+ years running a self-hosted Home Assistant setup — Zigbee2MQTT, Frigate NVR, and local-first automations. Independent coverage for UK homes, no brand deals.

LinkedIn →

Citing this page? Please use a dofollow link back to the original article — it helps us keep the data on this page accurate and up to date.

Related reading