Mqtt in output dataformate for dashbaord

Also your MQTT topic could perhaps be better. "out" and "topic" don't add much value.

I guess this is an air quality sensor so you could use just "iaq" as the mqtt topic.

But perhaps one day you want more than one iaq sensor, so try "iaq/x" where x = the device location.
So one sensor might use "iaq/kitchen", another "iaq/lounge".

You can subscribe to just one of them with "iaq/kitchen" or all of them with "iaq/#"

2 Likes