Add type hints to integration tests (part 8) (#87982)
This commit is contained in:
parent
575f7c4205
commit
89e4ee5320
50 changed files with 696 additions and 339 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Test init of Logitch Harmony Hub integration."""
|
||||
from homeassistant.components.harmony.const import DOMAIN
|
||||
from homeassistant.const import CONF_HOST, CONF_NAME
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
@ -18,7 +19,9 @@ from .const import (
|
|||
from tests.common import MockConfigEntry, mock_registry
|
||||
|
||||
|
||||
async def test_unique_id_migration(mock_hc, hass, mock_write_config):
|
||||
async def test_unique_id_migration(
|
||||
mock_hc, hass: HomeAssistant, mock_write_config
|
||||
) -> None:
|
||||
"""Test migration of switch unique ids to stable ones."""
|
||||
entry = MockConfigEntry(
|
||||
domain=DOMAIN, data={CONF_HOST: "192.0.2.0", CONF_NAME: HUB_NAME}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue