mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Bump devolo_plc_api to 1.2.0 (#88348)
This commit is contained in:
parent
f0b7343993
commit
1279868bf5
@ -8,7 +8,7 @@
|
|||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["devolo_plc_api"],
|
"loggers": ["devolo_plc_api"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"requirements": ["devolo-plc-api==1.1.0"],
|
"requirements": ["devolo-plc-api==1.2.0"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
{
|
{
|
||||||
"type": "_dvl-deviceapi._tcp.local.",
|
"type": "_dvl-deviceapi._tcp.local.",
|
||||||
|
@ -592,7 +592,7 @@ denonavr==0.11.1
|
|||||||
devolo-home-control-api==0.18.2
|
devolo-home-control-api==0.18.2
|
||||||
|
|
||||||
# homeassistant.components.devolo_home_network
|
# homeassistant.components.devolo_home_network
|
||||||
devolo-plc-api==1.1.0
|
devolo-plc-api==1.2.0
|
||||||
|
|
||||||
# homeassistant.components.directv
|
# homeassistant.components.directv
|
||||||
directv==0.4.0
|
directv==0.4.0
|
||||||
|
@ -469,7 +469,7 @@ denonavr==0.11.1
|
|||||||
devolo-home-control-api==0.18.2
|
devolo-home-control-api==0.18.2
|
||||||
|
|
||||||
# homeassistant.components.devolo_home_network
|
# homeassistant.components.devolo_home_network
|
||||||
devolo-plc-api==1.1.0
|
devolo-plc-api==1.2.0
|
||||||
|
|
||||||
# homeassistant.components.directv
|
# homeassistant.components.directv
|
||||||
directv==0.4.0
|
directv==0.4.0
|
||||||
|
@ -63,7 +63,7 @@ async def test_form(hass: HomeAssistant, info: dict[str, Any]):
|
|||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
("exception_type", "expected_error"),
|
("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:
|
async def test_form_error(hass: HomeAssistant, exception_type, expected_error) -> None:
|
||||||
"""Test we handle errors."""
|
"""Test we handle errors."""
|
||||||
|
@ -49,7 +49,7 @@ async def test_setup_device_not_found(hass: HomeAssistant) -> None:
|
|||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.devolo_home_network.Device.async_connect",
|
"homeassistant.components.devolo_home_network.Device.async_connect",
|
||||||
side_effect=DeviceNotFound,
|
side_effect=DeviceNotFound(IP),
|
||||||
):
|
):
|
||||||
await hass.config_entries.async_setup(entry.entry_id)
|
await hass.config_entries.async_setup(entry.entry_id)
|
||||||
assert entry.state is ConfigEntryState.SETUP_RETRY
|
assert entry.state is ConfigEntryState.SETUP_RETRY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user