Fix ambient network test linting (#115691)

This commit is contained in:
Martin Hjelmare 2024-04-16 10:19:23 +02:00 committed by GitHub
parent 0dd8ffd1f5
commit 093aee672c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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