Hello,
I am looking for a way to configure the data feed from Home Assistant into InfluxDB that I would like to organize like this:
1- Measurements: “electricity”, “water”…
2- Sensors names as tags
3- Unit_of_measurement as field-key
For 1 and 2 I know how to do (I use override_measurement in configuration.yaml) but I did not find any information on this forum and elsewhere on how to achieve point 3, as the field-key is called “value” and not after the “unit_of_measurement” (e.g. “W” or “kWh” or “°C”).
Is there a way to achieve that?
Thanks
Guido