InfluxDB V2 Measurement

I would like to use InfluxDB v2 as a DB in the future.
I have now “played around” a bit and tried it out. I noticed that it is described here: InfluxDB - Home Assistant that the “default_measurement: units” is stored.
Is there a possibility to store e.g. “device” instead of “units”?
Or how have you solved this, because I don’t think a measurement should be a unit, or have I misunderstood something about InfluxDB?

I think there might be a misunderstanding here.
The manual you linked above states:
“default_measurement string (Optional)
Measurement name to use when the measurement_attr state attribute does not exist, e.g. when an entity doesn’t have a unit.
Default: uses the entity id of the entity”
For example, if you have an integration which only provides the plain temperature value, but not the unit with it (here °C) you can add this here.

Influx stores lines of data like this:

time value measurement=(unit) entity_id=(entity id) friendly_name=(friendly name) …

What are you trying to do? it seems you have a non-issue here.

Trust me that the default way HA uses works really fine, and you won’t need any change of settings.