From 25e00556d07cf5d533a5d2f7796fbbba7c32bb78 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Oct 2017 17:17:08 +0200 Subject: [PATCH] Upgrade influxdb to 4.1.1 (#9652) * Upgrade influxdb to 4.1.1 * Upgrade influxdb to 4.1.1 --- homeassistant/components/influxdb.py | 2 +- homeassistant/components/sensor/influxdb.py | 3 ++- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/influxdb.py b/homeassistant/components/influxdb.py index 36a58fa8165..1c261d5ec3e 100644 --- a/homeassistant/components/influxdb.py +++ b/homeassistant/components/influxdb.py @@ -18,7 +18,7 @@ from homeassistant.helpers import state as state_helper from homeassistant.helpers.entity_values import EntityValues import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['influxdb==3.0.0'] +REQUIREMENTS = ['influxdb==4.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensor/influxdb.py b/homeassistant/components/sensor/influxdb.py index 7c7ce3ec3da..8adf85f0a2e 100644 --- a/homeassistant/components/sensor/influxdb.py +++ b/homeassistant/components/sensor/influxdb.py @@ -22,6 +22,8 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['influxdb==4.1.1'] + DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 DEFAULT_DATABASE = 'home_assistant' @@ -37,7 +39,6 @@ CONF_FIELD = 'field' CONF_MEASUREMENT_NAME = 'measurement' CONF_WHERE = 'where' -REQUIREMENTS = ['influxdb==3.0.0'] _QUERY_SCHEME = vol.Schema({ vol.Required(CONF_NAME): cv.string, diff --git a/requirements_all.txt b/requirements_all.txt index 4bf2c13d511..da0f1f86a31 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -351,7 +351,7 @@ https://github.com/wokar/pylgnetcast/archive/v0.2.0.zip#pylgnetcast==0.2.0 # homeassistant.components.influxdb # homeassistant.components.sensor.influxdb -influxdb==3.0.0 +influxdb==4.1.1 # homeassistant.components.insteon_local insteonlocal==0.52 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 3a6cbacd6e1..8c079d4555e 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -69,7 +69,7 @@ holidays==0.8.1 # homeassistant.components.influxdb # homeassistant.components.sensor.influxdb -influxdb==3.0.0 +influxdb==4.1.1 # homeassistant.components.dyson libpurecoollink==0.4.2