diff --git a/homeassistant/components/influxdb.py b/homeassistant/components/influxdb.py index 36a58fa8165583..1c261d5ec3e07c 100644 --- a/homeassistant/components/influxdb.py +++ b/homeassistant/components/influxdb.py @@ -18,7 +18,7 @@ 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 7c7ce3ec3dab0f..8adf85f0a2e7ca 100644 --- a/homeassistant/components/sensor/influxdb.py +++ b/homeassistant/components/sensor/influxdb.py @@ -22,6 +22,8 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['influxdb==4.1.1'] + DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 DEFAULT_DATABASE = 'home_assistant' @@ -37,7 +39,6 @@ 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 911261115f344c..0fe8a94bd7d27b 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 3a6cbacd6e1f9c..8c079d4555e8a9 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