Bump devolo_plc_api to 1.2.0 (#88348)

This commit is contained in:
Guido Schmitz 2023-02-18 13:34:26 +01:00 committed by GitHub
parent f0b7343993
commit 1279868bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -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.",

View File

@ -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

View File

@ -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

View File

@ -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."""

View File

@ -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