2023-07-25 18:46:04 +00:00
|
|
|
"""Opensky tests."""
|
2024-03-08 19:38:34 +00:00
|
|
|
|
2024-03-30 13:52:33 +00:00
|
|
|
from homeassistant.core import HomeAssistant
|
2023-07-25 18:46:04 +00:00
|
|
|
|
2024-03-30 13:52:33 +00:00
|
|
|
from tests.common import MockConfigEntry
|
2023-08-22 16:06:19 +00:00
|
|
|
|
|
|
|
|
2024-03-30 13:52:33 +00:00
|
|
|
async def setup_integration(hass: HomeAssistant, config_entry: MockConfigEntry) -> None:
|
|
|
|
"""Set up the integration."""
|
|
|
|
config_entry.add_to_hass(hass)
|
|
|
|
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
|
|
|
await hass.async_block_till_done()
|