I have InfluxDB 2.0 running on a separate VM outside of my Hass.io Docker and I’m trying connect my HA to it. I followed the instructions here but keep getting a configuration error.
Invalid config for [influxdb]: [api_version] is an invalid option for [influxdb]. Check: influxdb->influxdb->api_version. (See /config/configuration.yaml, line 650).
Is this code part of configuration.yaml or in a separate file? If it’s in a separate file, you need to remove the “influxdb:” at the top of the file because you are already referencing it in configuration.yaml.