Add type hints to integration tests (h-i) (#87703)
This commit is contained in:
parent
807c69f621
commit
37a2040d7b
91 changed files with 674 additions and 425 deletions
|
@ -47,7 +47,7 @@ from homeassistant.const import (
|
|||
SERVICE_RELOAD,
|
||||
STATE_ON,
|
||||
)
|
||||
from homeassistant.core import HomeAssistantError, State
|
||||
from homeassistant.core import HomeAssistant, HomeAssistantError, State
|
||||
from homeassistant.helpers import device_registry, entity_registry as er, instance_id
|
||||
from homeassistant.helpers.entityfilter import (
|
||||
CONF_EXCLUDE_DOMAINS,
|
||||
|
@ -744,7 +744,7 @@ async def test_homekit_start_with_a_device(
|
|||
await homekit.async_stop()
|
||||
|
||||
|
||||
async def test_homekit_stop(hass):
|
||||
async def test_homekit_stop(hass: HomeAssistant) -> None:
|
||||
"""Test HomeKit stop method."""
|
||||
entry = await async_init_integration(hass)
|
||||
homekit = _mock_homekit(hass, entry, HOMEKIT_MODE_BRIDGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue