mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 06:05:26 +01:00
Fix warning in Fritz switch tests (#163256)
This commit is contained in:
@@ -290,6 +290,7 @@ async def test_switch_no_profile_entities_list(
|
||||
hass: HomeAssistant,
|
||||
fc_class_mock,
|
||||
fh_class_mock,
|
||||
fs_class_mock,
|
||||
) -> None:
|
||||
"""Test Fritz!Tools switches with no profile entities."""
|
||||
|
||||
@@ -312,6 +313,7 @@ async def test_switch_no_mesh_wifi_uplink(
|
||||
hass: HomeAssistant,
|
||||
fc_class_mock,
|
||||
fh_class_mock,
|
||||
fs_class_mock,
|
||||
) -> None:
|
||||
"""Test Fritz!Tools switches when no mesh WiFi uplink."""
|
||||
|
||||
@@ -330,6 +332,7 @@ async def test_switch_device_no_wan_access(
|
||||
hass: HomeAssistant,
|
||||
fc_class_mock,
|
||||
fh_class_mock,
|
||||
fs_class_mock,
|
||||
) -> None:
|
||||
"""Test Fritz!Tools switches when device has no WAN access."""
|
||||
|
||||
@@ -355,6 +358,7 @@ async def test_switch_device_no_ip_address(
|
||||
hass: HomeAssistant,
|
||||
fc_class_mock,
|
||||
fh_class_mock,
|
||||
fs_class_mock,
|
||||
) -> None:
|
||||
"""Test Fritz!Tools switches when device has no IP address."""
|
||||
|
||||
@@ -398,6 +402,7 @@ async def test_switch_turn_on_off(
|
||||
hass: HomeAssistant,
|
||||
fc_class_mock,
|
||||
fh_class_mock,
|
||||
fs_class_mock,
|
||||
entity_id: str,
|
||||
wrapper_method: str,
|
||||
state_value: str,
|
||||
|
||||
Reference in New Issue
Block a user