mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix ambient network test linting (#115691)
This commit is contained in:
parent
0dd8ffd1f5
commit
093aee672c
@ -79,7 +79,7 @@ async def setup_platform(
|
|||||||
expected_outcome: bool,
|
expected_outcome: bool,
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry: MockConfigEntry,
|
config_entry: MockConfigEntry,
|
||||||
):
|
) -> None:
|
||||||
"""Load the Ambient Network integration with the provided OpenAPI and config entry."""
|
"""Load the Ambient Network integration with the provided OpenAPI and config entry."""
|
||||||
|
|
||||||
config_entry.add_to_hass(hass)
|
config_entry.add_to_hass(hass)
|
||||||
@ -87,5 +87,3 @@ async def setup_platform(
|
|||||||
await hass.config_entries.async_setup(config_entry.entry_id) == expected_outcome
|
await hass.config_entries.async_setup(config_entry.entry_id) == expected_outcome
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
return
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user