mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
14 lines
402 B
Python
14 lines
402 B
Python
"""Tests for Brother Printer integration."""
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
async def init_integration(hass: HomeAssistant, entry: MockConfigEntry) -> None:
|
|
"""Set up the Brother integration in Home Assistant."""
|
|
entry.add_to_hass(hass)
|
|
|
|
await hass.config_entries.async_setup(entry.entry_id)
|
|
await hass.async_block_till_done()
|