init home-assistant
This commit is contained in:
10
home-assistant/tests/components/thethingsnetwork/__init__.py
Normal file
10
home-assistant/tests/components/thethingsnetwork/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""Define tests for the The Things Network."""
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
async def init_integration(hass: HomeAssistant, config_entry) -> None:
|
||||
"""Mock TTNClient."""
|
||||
config_entry.add_to_hass(hass)
|
||||
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
Reference in New Issue
Block a user