Need advice adding Zigbee Aqara temp/humidity sensor to Home Assistant

I am trying to set up a Zigbee Aqara temp/humidity sensor to Home Assistant (2024.10). I’m using a Sonoff Zigbee Bridge, flashed with Tasmota.
I’ve paired the sensor with the Bridge, and the Tasmota console shows temperature and humidity readings:
aqara-temp

With my other Zigbee devices I’m using MQTT to drive my automations, but I’ve been monitoring the Tasmota console and I’m not seeing any messages being received from the Aqara sensor…

How can I bring the temp/humidity values into HA as sensors? I’m guessing that I need to add a sensor definition to my configuration.yaml, but could anyone help out with the required format/syntax?

EDIT: if I place the sensor in the fridge the temperature reading on the Tasmota console updates every 10 seconds, but I still don’t see any messages being written to the console.

EDIT2: After 15 minutes I finally got a message on the console:

13:58:01.154 MQT: tele/zigbee-bridge/aqara-temp-sensor-bedroom/SENSOR = {"ZbReceived":{"0xC9A3":{"Device":"0xC9A3","Name":"aqara-temp-sensor-bedroom","Temperature":18.95,"Humidity":60.62,"Pressure":1024,"PressureScale":-1,"PressureScaledValue":10240,"SeaPressure":1025,"Endpoint":1,"LinkQuality":110}}}

OK so I am seeing MQTT messages coming through using MQTT Explorer, but for some reason my sensor state is showing as “unknown”.
This is how I have the sensor defined:

mqtt:
  - name: "bedroom temperature"
    unit_of_measurement: "°C"
    value_template: "{{ value_json.Temperature }}"
    state_topic: "tele/zigbee-bridge/aqara-temp-sensor-bedroom/SENSOR"

Here is an example of one of the MQTT messages that I’m seeing:

…and here is the state of the sensor, as reported in the HA UI:

HA seems to be detecting the MQTT messages, but for some reason the sensor is not updating

???

Are you using ZHA or Zigbee2mqtt integration? You need one of these integrations to connect the Zigbee dongle to Home Assistant.

I’m using Zigbee2Tasmota

It seems that my sensor definition was wrong - this is what seems to work:

  - name: "bedroom temperature"
    unit_of_measurement: "°C"
    value_template: '{{ value_json.ZbReceived[''0xC9A3''].Temperature}}'
    state_topic: "tele/zigbee-bridge/aqara-temp-sensor-bedroom/SENSOR"
    device_class: temperature