1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add type hints to integration tests (f-g) (#87700)

This commit is contained in:
epenet
2023-02-08 13:33:52 +01:00
committed by GitHub
parent 3052de3e8e
commit 7a4d15a657
75 changed files with 609 additions and 415 deletions

View File

@@ -6,12 +6,13 @@ from homeassistant.components.google_assistant.const import (
SOURCE_LOCAL,
)
from homeassistant.const import ATTR_ENTITY_ID, ATTR_FRIENDLY_NAME
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
from tests.components.logbook.common import MockRow, mock_humanify
async def test_humanify_command_received(hass):
async def test_humanify_command_received(hass: HomeAssistant) -> None:
"""Test humanifying command event."""
hass.config.components.add("recorder")
hass.config.components.add("frontend")