diff --git a/homeassistant/components/influxdb/const.py b/homeassistant/components/influxdb/const.py index eff6fbb1e44..68e3da5b223 100644 --- a/homeassistant/components/influxdb/const.py +++ b/homeassistant/components/influxdb/const.py @@ -75,7 +75,7 @@ BATCH_TIMEOUT = 1 BATCH_BUFFER_SIZE = 100 LANGUAGE_INFLUXQL = "influxQL" LANGUAGE_FLUX = "flux" -TEST_QUERY_V1 = "SHOW SERIES LIMIT 1;" +TEST_QUERY_V1 = "SHOW DATABASES;" TEST_QUERY_V2 = f"buckets() {DEFAULT_FUNCTION_FLUX}" CODE_INVALID_INPUTS = 400