mirror of
https://github.com/home-assistant/core.git
synced 2026-10-10 16:25:28 -04:00
17 lines
410 B
Python
17 lines
410 B
Python
"""Tests for Airly."""
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
async def init_integration(
|
|
hass: HomeAssistant,
|
|
config_entry: MockConfigEntry,
|
|
) -> None:
|
|
"""Set up the Airly integration in Home Assistant."""
|
|
config_entry.add_to_hass(hass)
|
|
|
|
await hass.config_entries.async_setup(config_entry.entry_id)
|
|
await hass.async_block_till_done()
|