diff --git a/homeassistant/components/influxdb.py b/homeassistant/components/influxdb.py index 36a58fa81655834cb1eb003ed617bca2c1da46ee..1c261d5ec3e07c54ca10bf396399d886d6f93415 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 7c7ce3ec3dab0f3a1cf6029f80eb310d485f7e98..8adf85f0a2e7ca307ce36abca167a766a421a784 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 4bf2c13d5114e0fdd6b5049b142893faf0522619..da0f1f86a3135874fa5c58f3ea6a6daf42682c85 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 3a6cbacd6e1f9c5065cb474546e76f5ed6a01751..8c079d4555e8a9ffa56a351c066fa8efb01a3deb 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