Mold integration unavailable

I am getting a state of “unavailable” returned from the Mold integration
My Configuration:

  - platform: mold_indicator
    name: Mold - Upstairs Bathroom
    indoor_temp_sensor: sensor.lumi_lumi_weather_90e0ed07_temperature
    indoor_humidity_sensor: sensor.lumi_lumi_weather_90e0ed07_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0
  - platform: mold_indicator
    name: Mold - Basement
    indoor_temp_sensor: sensor.security_basement_4_in_1_sensor_air_temperature
    indoor_humidity_sensor: sensor.security_basement_4_in_1_sensor_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0 
  - platform: mold_indicator
    name: Mold - Master Bath
    indoor_temp_sensor: sensor.lumi_lumi_weather_temperature
    indoor_humidity_sensor: sensor.lumi_lumi_weather_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0```


Thoughts?

Config looks ok. Where have you put this?

Also are your temperature and humidity sensors available, and have they changed since you restarted?

I have it in a package file (mold.yaml) in a Packages folder, with a
packages: !include_dir_named packages
line in my config.yaml.

Under sensor: ?

Yes.

# https://www.home-assistant.io/integrations/mold_indicator/
sensor:
  - platform: mold_indicator
    name: Mold - Upstairs Bathroom
    indoor_temp_sensor: sensor.lumi_lumi_weather_90e0ed07_temperature
    indoor_humidity_sensor: sensor.lumi_lumi_weather_90e0ed07_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0
  - platform: mold_indicator
    name: Mold - Basement
    indoor_temp_sensor: sensor.security_basement_4_in_1_sensor_air_temperature
    indoor_humidity_sensor: sensor.security_basement_4_in_1_sensor_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0 
  - platform: mold_indicator
    name: Mold - Master Bath
    indoor_temp_sensor: sensor.lumi_lumi_weather_temperature
    indoor_humidity_sensor: sensor.lumi_lumi_weather_humidity
    outdoor_temp_sensor: sensor.davis_vantage_pro_humidity_outside
    calibration_factor: 2.0

Any related error in your system log?

If not try quoting the names with dashes in them:

name: 'Mold - Upstairs Bathroom'

“No issues found for search term ‘‘Mold - Upstairs Bathroom’’”

Look at Settings → System → Logs


Check, that is where I did the search.

How do you know that is the exact search term that will return a match?

Just look through it.

Needed to look in the Full Logs.

Full logs
2022-09-22 07:22:08.463 ERROR (MainThread) [homeassistant.components.mold_indicator.sensor] Temp sensor sensor.davis_vantage_pro_humidity_outside has unsupported unit: % (allowed: °C, °F)
2022-09-22 07:22:08.473 ERROR (MainThread) [homeassistant.components.mold_indicator.sensor] Temp sensor sensor.davis_vantage_pro_humidity_outside has unsupported unit: % (allowed: °C, °F)
2022-09-22 07:22:08.474 ERROR (MainThread) [homeassistant.components.mold_indicator.sensor] Temp sensor sensor.davis_vantage_pro_humidity_outside has unsupported unit: % (allowed: °C, °F)

The configuration is per the documentation.
Thinking that adding unit_of_measurement: °F would sort that error generates this set of errors when checking configuration validation:

```Configuration invalid!

Invalid config for [sensor.mold_indicator]: [unit_of_measurement] is an invalid option for [sensor.mold_indicator]. Check: sensor.mold_indicator->unit_of_measurement. (See ?, line ?). Invalid config for [sensor.mold_indicator]: [unit_of_measurement] is an invalid option for [sensor.mold_indicator]. Check: sensor.mold_indicator->unit_of_measurement. (See ?, line ?). Invalid config for [sensor.mold_indicator]: [unit_of_measurement] is an invalid option for [sensor.mold_indicator]. Check: sensor.mold_indicator->unit_of_measurement. (See ?, line ?).```
Doh! Outside humidity vice outside air temp!


Now working.

Thank you!

What is state value that suggests that there may be a mold problem? Over 60?

It’s written in the first paragraph of the integration documentation.

Thanks, now I see it. 70%