MQTT sensor with attributes - how to save in influxdb

Hi,

I have an MQTT sensor which get multiple sensors data (attributes). How do I send it to InfluxDB? Do I need to define for each attribute a sensor of its own? InfluxDB gets entity id so I am not sure is there other way beside defining sensor for each attribute.

Thx

Did you ever get an answer? Same is true for Open Weather Map weather data, the temperature and humidity resides in attributes. Would like to see how this is doneā€¦