homeassistant-tankerkoenig
homeassistant-tankerkoenig copied to clipboard
unit of measurement as table name in influxdb
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.