Integrating Sensors from MQTT into Home Assistant does not work

Hello everyone,
I just can’t get any further. Probably a beginner’s mistake. I have installed MQTT and would like to display the values ​​read from my Smart-Maic as a sensor for gas and water. I managed to get the connection and the data is also read out (here from the MQTT Explorer):

How do I get this into the Configuration.yaml?
I tried this here. But something seems to be missing because the sensor appears, but no values.


  • state_topic: “1761610240/TCh1”
    name: “Gaszähler”
    unit_of_measurement: “m³”
    device_class: gas
    state_class: “total_increasing”
    icon: “mdi:fire”

And no entities are displayed in my MQTT Broaker.

In the settings under Entities it does, but without values.

Can anyone help me here? I would be happy.
Greetings Sebastian

1 Like

Have you checked that your MQTT instance is currently working, perhaps with another sensor or device?