Bump python-kasa to 0.5.4 for tplink (#103038)

This commit is contained in:
Teemu R 2023-11-01 01:54:51 +01:00 committed by GitHub
parent e880ad7bda
commit f944c68e01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -169,5 +169,5 @@
"iot_class": "local_polling",
"loggers": ["kasa"],
"quality_scale": "platinum",
"requirements": ["python-kasa[speedups]==0.5.3"]
"requirements": ["python-kasa[speedups]==0.5.4"]
}

View file

@ -2141,7 +2141,7 @@ python-join-api==0.0.9
python-juicenet==1.1.0
# homeassistant.components.tplink
python-kasa[speedups]==0.5.3
python-kasa[speedups]==0.5.4
# homeassistant.components.lirc
# python-lirc==1.2.3

View file

@ -1597,7 +1597,7 @@ python-izone==1.2.9
python-juicenet==1.1.0
# homeassistant.components.tplink
python-kasa[speedups]==0.5.3
python-kasa[speedups]==0.5.4
# homeassistant.components.matter
python-matter-server==4.0.0

View file

@ -29,7 +29,9 @@ from tests.common import MockConfigEntry, async_fire_time_changed
async def test_configuring_tplink_causes_discovery(hass: HomeAssistant) -> None:
"""Test that specifying empty config does discovery."""
with patch("homeassistant.components.tplink.Discover.discover") as discover:
with patch("homeassistant.components.tplink.Discover.discover") as discover, patch(
"homeassistant.components.tplink.Discover.discover_single"
):
discover.return_value = {MagicMock(): MagicMock()}
await async_setup_component(hass, tplink.DOMAIN, {tplink.DOMAIN: {}})
await hass.async_block_till_done()