mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Bump influxdb-client dependency to 1.24.0 (#63397)
This commit is contained in:
parent
11ec7937f7
commit
c1967abfca
@ -336,6 +336,7 @@ def get_influx_connection(conf, test_write=False, test_read=False): # noqa: C90
|
||||
precision = conf.get(CONF_PRECISION)
|
||||
|
||||
if conf[CONF_API_VERSION] == API_VERSION_2:
|
||||
kwargs[CONF_TIMEOUT] = TIMEOUT * 1000
|
||||
kwargs[CONF_URL] = conf[CONF_URL]
|
||||
kwargs[CONF_TOKEN] = conf[CONF_TOKEN]
|
||||
kwargs[INFLUX_CONF_ORG] = conf[CONF_ORG]
|
||||
|
@ -2,7 +2,7 @@
|
||||
"domain": "influxdb",
|
||||
"name": "InfluxDB",
|
||||
"documentation": "https://www.home-assistant.io/integrations/influxdb",
|
||||
"requirements": ["influxdb==5.3.1", "influxdb-client==1.14.0"],
|
||||
"requirements": ["influxdb==5.3.1", "influxdb-client==1.24.0"],
|
||||
"codeowners": ["@fabaff", "@mdegat01"],
|
||||
"iot_class": "local_push"
|
||||
}
|
||||
|
@ -896,7 +896,7 @@ ihcsdk==2.7.0
|
||||
incomfort-client==0.4.4
|
||||
|
||||
# homeassistant.components.influxdb
|
||||
influxdb-client==1.14.0
|
||||
influxdb-client==1.24.0
|
||||
|
||||
# homeassistant.components.influxdb
|
||||
influxdb==5.3.1
|
||||
|
@ -565,7 +565,7 @@ icmplib==3.0
|
||||
ifaddr==0.1.7
|
||||
|
||||
# homeassistant.components.influxdb
|
||||
influxdb-client==1.14.0
|
||||
influxdb-client==1.24.0
|
||||
|
||||
# homeassistant.components.influxdb
|
||||
influxdb==5.3.1
|
||||
|
@ -1608,7 +1608,7 @@ async def test_event_listener_attribute_name_conflict(
|
||||
BASE_V2_CONFIG,
|
||||
_get_write_api_mock_v2,
|
||||
influxdb.API_VERSION_2,
|
||||
influxdb.ApiException(),
|
||||
influxdb.ApiException(http_resp=MagicMock()),
|
||||
),
|
||||
],
|
||||
indirect=["mock_client", "get_mock_call"],
|
||||
@ -1650,7 +1650,7 @@ async def test_connection_failure_on_startup(
|
||||
BASE_V2_CONFIG,
|
||||
_get_write_api_mock_v2,
|
||||
influxdb.API_VERSION_2,
|
||||
influxdb.ApiException(status=HTTPStatus.BAD_REQUEST),
|
||||
influxdb.ApiException(status=HTTPStatus.BAD_REQUEST, http_resp=MagicMock()),
|
||||
),
|
||||
],
|
||||
indirect=["mock_client", "get_mock_call"],
|
||||
|
@ -417,14 +417,14 @@ async def test_state_for_no_results(
|
||||
BASE_V2_CONFIG,
|
||||
BASE_V2_QUERY,
|
||||
_set_query_mock_v2,
|
||||
ApiException(),
|
||||
ApiException(http_resp=MagicMock()),
|
||||
),
|
||||
(
|
||||
API_VERSION_2,
|
||||
BASE_V2_CONFIG,
|
||||
BASE_V2_QUERY,
|
||||
_set_query_mock_v2,
|
||||
ApiException(status=HTTPStatus.BAD_REQUEST),
|
||||
ApiException(status=HTTPStatus.BAD_REQUEST, http_resp=MagicMock()),
|
||||
),
|
||||
],
|
||||
indirect=["mock_client"],
|
||||
@ -534,7 +534,7 @@ async def test_error_rendering_template(
|
||||
BASE_V2_CONFIG,
|
||||
BASE_V2_QUERY,
|
||||
_set_query_mock_v2,
|
||||
ApiException(),
|
||||
ApiException(http_resp=MagicMock()),
|
||||
_make_v2_resultset,
|
||||
),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user