Xiaomi Air Purifier 3H temperature updates

I have the Xiaomi Air Purifier 3H set up in HA, and can control it and see the humidity, temperature etc.

Is anybody else finding that the temperature sensor doesn’t update very often? All of the other sensors update regularly, but it hasn’t reported a change in temperature for 10 hours.

It looks like temperature and AQI only update if you have the app open.

I don’t really pay much attention to the humidity, but my air quality and temps seem to work fine without the app open. I will keep and eye on it for you.

One thing id like to know with regards to this Air Purifier and its readings are this, is it possible to display those readings in the Home Assistant app?

Yes, you can convert them to sensors (changing fan.air_purifier to match your entity_id) as below. This is how I can see the temperature is only updating very occasionally, wheres some of the other fields update regularly.

  - platform: template
    sensors:
      air_purifier_temp:
        friendly_name: "Temperature"
        value_template: "{{ state_attr('fan.air_purifier', 'temperature') }}"
        unit_of_measurement: "°C"
        device_class: "temperature"
      air_purifier_humidity:
        friendly_name: "Humidity"
        value_template: "{{ state_attr('fan.air_purifier', 'humidity') }}"
        unit_of_measurement: "%"
        device_class: "humidity"
      air_purifier_air_quality_pm25:
        friendly_name: "Air quality"
        value_template: "{{ state_attr('fan.air_purifier', 'aqi') }}"
        unit_of_measurement: "μg/m³"
        icon_template: "mdi:weather-fog"
      air_purifier_air_quality_average:
        friendly_name: "Air quality average"
        value_template: "{{ state_attr('fan.air_purifier', 'average_aqi') }}"
        unit_of_measurement: "μg/m³"
        icon_template: "mdi:weather-fog"
      air_purifier_speed:
        friendly_name: "Fan speed"
        value_template: "{{ state_attr('fan.air_purifier', 'motor_speed') }}"
        unit_of_measurement: "rpm"
        icon_template: "mdi:speedometer"
      air_purifier_filter_remaining:
        friendly_name: "Filter remaining"
        value_template: "{{ state_attr('fan.air_purifier', 'filter_life_remaining') }}"
        unit_of_measurement: "%"
        icon_template: "mdi:heart-outline"

Same for me. Updating only when app is open. Very annoying