diff --git a/homeassistant/components/knx/manifest.json b/homeassistant/components/knx/manifest.json index 01856859bd5..c8c5c37a480 100644 --- a/homeassistant/components/knx/manifest.json +++ b/homeassistant/components/knx/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_push", "loggers": ["xknx"], "quality_scale": "platinum", - "requirements": ["xknx==2.4.0"] + "requirements": ["xknx==2.5.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index 2847018304c..f416452a490 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2650,7 +2650,7 @@ xboxapi==2.0.1 xiaomi-ble==0.16.3 # homeassistant.components.knx -xknx==2.4.0 +xknx==2.5.0 # homeassistant.components.bluesound # homeassistant.components.fritz diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6035ca42eea..3dcb1fed550 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1875,7 +1875,7 @@ xbox-webapi==2.0.11 xiaomi-ble==0.16.3 # homeassistant.components.knx -xknx==2.4.0 +xknx==2.5.0 # homeassistant.components.bluesound # homeassistant.components.fritz diff --git a/tests/components/knx/test_config_flow.py b/tests/components/knx/test_config_flow.py index 099d12ad6dc..c41e22d7749 100644 --- a/tests/components/knx/test_config_flow.py +++ b/tests/components/knx/test_config_flow.py @@ -5,7 +5,7 @@ import pytest from xknx.exceptions.exception import CommunicationError, InvalidSecureConfiguration from xknx.io import DEFAULT_MCAST_GRP, DEFAULT_MCAST_PORT from xknx.io.gateway_scanner import GatewayDescriptor -from xknx.secure.keyring import _load_keyring +from xknx.secure.keyring import sync_load_keyring from xknx.telegram import IndividualAddress from homeassistant import config_entries @@ -998,8 +998,8 @@ async def test_configure_secure_knxkeys(hass: HomeAssistant, knx_setup) -> None: assert not result["errors"] with patch( - "xknx.secure.keyring._load_keyring", - return_value=_load_keyring( + "xknx.secure.keyring.sync_load_keyring", + return_value=sync_load_keyring( str(get_fixture_path("fixture.knxkeys", DOMAIN).absolute()), FIXTURE_KNXKEYS_PASSWORD, ), @@ -1252,8 +1252,8 @@ async def test_options_flow_secure_manual_to_keyfile( assert not result4["errors"] with patch( - "xknx.secure.keyring._load_keyring", - return_value=_load_keyring( + "xknx.secure.keyring.sync_load_keyring", + return_value=sync_load_keyring( str(get_fixture_path("fixture.knxkeys", DOMAIN).absolute()), FIXTURE_KNXKEYS_PASSWORD, ),