Hi everyone.
I’d like to populate a Home Assistnt sensor with data from an influx DB.
Here’s my configuration:
# import influxdb values as home assistant sensor
influxdb:
host: 192.168.0.2
api_version: 2
port: 8086
ssl: false
organization: My Org...
token: My Token...
bucket: enviro_temp
exclude:
entity_globs: "*"
sensor:
- platform: influxdb
api_version: 2
ssl: false
host: 192.168.02
port: 8086
token: My Token...
organization: My Org
bucket: enviro_temp
queries_flux:
- range_start: "-1d"
name: "Enviro-Weather Temperature Test"
query: >
filter(fn: (r) => r["_measurement"] == "temperature")
value_template: "{{ value }}"
unique_id: "sensor.enviro-weather.temperature-test"
I reload theconfiguration yaml a I got no errors but I cannot find “Enviro-Weather Temperature Test” in entity list.
What did I do wrong?