mirror of
https://github.com/home-assistant/core.git
synced 2026-12-03 12:21:04 -04:00
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
13 lines
392 B
Python
13 lines
392 B
Python
"""Tests for the emoncms component."""
|
|
|
|
from pytest_homeassistant.common import MockConfigEntry
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
|
|
async def setup_integration(hass: HomeAssistant, entry: MockConfigEntry) -> None:
|
|
"""Set up the integration."""
|
|
entry.add_to_hass(hass)
|
|
assert await hass.config_entries.async_setup(entry.entry_id)
|
|
await hass.async_block_till_done()
|