2020-03-20 09:21:43 +00:00
|
|
|
"""Tests for Brother Printer integration."""
|
2024-03-08 19:38:34 +00:00
|
|
|
|
2022-09-18 21:28:17 +00:00
|
|
|
from homeassistant.core import HomeAssistant
|
2020-03-20 09:21:43 +00:00
|
|
|
|
2024-05-19 18:41:47 +00:00
|
|
|
from tests.common import MockConfigEntry
|
2020-03-20 09:21:43 +00:00
|
|
|
|
|
|
|
|
2022-09-18 21:28:17 +00:00
|
|
|
async def init_integration(
|
2024-05-19 18:41:47 +00:00
|
|
|
hass: HomeAssistant, entry: MockConfigEntry
|
2022-09-18 21:28:17 +00:00
|
|
|
) -> MockConfigEntry:
|
2020-03-20 09:21:43 +00:00
|
|
|
"""Set up the Brother integration in Home Assistant."""
|
2020-11-22 21:42:16 +00:00
|
|
|
entry.add_to_hass(hass)
|
|
|
|
|
2024-05-19 18:41:47 +00:00
|
|
|
await hass.config_entries.async_setup(entry.entry_id)
|
|
|
|
await hass.async_block_till_done()
|