2024-07-25 10:27:10 +00:00
|
|
|
"""Tests for the LinkPlay integration."""
|
2024-11-10 19:31:40 +00:00
|
|
|
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
|
|
|
|
|
|
async def setup_integration(
|
|
|
|
hass: HomeAssistant,
|
|
|
|
config_entry: MockConfigEntry,
|
|
|
|
) -> None:
|
|
|
|
"""Fixture for setting up the component."""
|
|
|
|
config_entry.add_to_hass(hass)
|
|
|
|
|
|
|
|
await hass.config_entries.async_setup(config_entry.entry_id)
|
|
|
|
await hass.async_block_till_done()
|