From 1279868bf5fdc8d73ce0ce273244b5a8e83abed0 Mon Sep 17 00:00:00 2001 From: Guido Schmitz Date: Sat, 18 Feb 2023 13:34:26 +0100 Subject: [PATCH] Bump devolo_plc_api to 1.2.0 (#88348) --- homeassistant/components/devolo_home_network/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/devolo_home_network/test_config_flow.py | 2 +- tests/components/devolo_home_network/test_init.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/devolo_home_network/manifest.json b/homeassistant/components/devolo_home_network/manifest.json index b75bc1bb33d..e3aaf2beaf9 100644 --- a/homeassistant/components/devolo_home_network/manifest.json +++ b/homeassistant/components/devolo_home_network/manifest.json @@ -8,7 +8,7 @@ "iot_class": "local_polling", "loggers": ["devolo_plc_api"], "quality_scale": "platinum", - "requirements": ["devolo-plc-api==1.1.0"], + "requirements": ["devolo-plc-api==1.2.0"], "zeroconf": [ { "type": "_dvl-deviceapi._tcp.local.", diff --git a/requirements_all.txt b/requirements_all.txt index 34a8772f9ff..1c997881d0d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -592,7 +592,7 @@ denonavr==0.11.1 devolo-home-control-api==0.18.2 # homeassistant.components.devolo_home_network -devolo-plc-api==1.1.0 +devolo-plc-api==1.2.0 # homeassistant.components.directv directv==0.4.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2783b664fa1..38cff29ba55 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -469,7 +469,7 @@ denonavr==0.11.1 devolo-home-control-api==0.18.2 # homeassistant.components.devolo_home_network -devolo-plc-api==1.1.0 +devolo-plc-api==1.2.0 # homeassistant.components.directv directv==0.4.0 diff --git a/tests/components/devolo_home_network/test_config_flow.py b/tests/components/devolo_home_network/test_config_flow.py index 65e4374e96e..82aa983522e 100644 --- a/tests/components/devolo_home_network/test_config_flow.py +++ b/tests/components/devolo_home_network/test_config_flow.py @@ -63,7 +63,7 @@ async def test_form(hass: HomeAssistant, info: dict[str, Any]): @pytest.mark.parametrize( ("exception_type", "expected_error"), - [[DeviceNotFound, "cannot_connect"], [Exception, "unknown"]], + [[DeviceNotFound(IP), "cannot_connect"], [Exception, "unknown"]], ) async def test_form_error(hass: HomeAssistant, exception_type, expected_error) -> None: """Test we handle errors.""" diff --git a/tests/components/devolo_home_network/test_init.py b/tests/components/devolo_home_network/test_init.py index c11dfdfb780..1b24c21f2bc 100644 --- a/tests/components/devolo_home_network/test_init.py +++ b/tests/components/devolo_home_network/test_init.py @@ -49,7 +49,7 @@ async def test_setup_device_not_found(hass: HomeAssistant) -> None: entry = configure_integration(hass) with patch( "homeassistant.components.devolo_home_network.Device.async_connect", - side_effect=DeviceNotFound, + side_effect=DeviceNotFound(IP), ): await hass.config_entries.async_setup(entry.entry_id) assert entry.state is ConfigEntryState.SETUP_RETRY