Skip to content

Commit

Permalink
Bump python-kasa to 0.5.4 for tplink (#103038)
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored and frenck committed Nov 1, 2023
1 parent 9910f9e commit c5f21fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/tplink/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tests/components/tplink/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

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()
Expand Down

0 comments on commit c5f21fe

Please sign in to comment.