homeassistant-tankerkoenig icon indicating copy to clipboard operation
homeassistant-tankerkoenig copied to clipboard

unit of measurement as table name in influxdb

Open martin3000 opened this issue 5 years ago • 0 comments

In my configuration.yaml I have a influxdb directive to write gasoline prices to influxdb. But in influxdb, the values have the name "€" instead of "sensor.gasoline_station1". This is a bug in home assistant but the developers call it a feature: https://github.com/home-assistant/home-assistant/issues/2333 (If you read https://docs.influxdata.com/influxdb/v1.7/concepts/key_concepts/#measurement you see that it is clearly a bug in home assistant)

If I understand the code correctly, this could be fixed with "override_measurement: ...." for the sensor.

martin3000 avatar Jun 23 '19 13:06 martin3000