Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python-kasa to 0.5.4 for tplink #103038

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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