Add type hints to integration tests (part 15) (#88006)

This commit is contained in:
epenet 2023-02-15 10:00:49 +01:00 committed by GitHub
parent 6c23d6abfe
commit 50cbabb2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 896 additions and 427 deletions

View file

@ -7,11 +7,14 @@ from homeassistant.components.switch import (
SERVICE_TURN_ON,
)
from homeassistant.const import ATTR_ENTITY_ID
from homeassistant.core import HomeAssistant
from .common import selected_platforms
async def test_switch_setup_and_services(hass, config_entry, netatmo_auth):
async def test_switch_setup_and_services(
hass: HomeAssistant, config_entry, netatmo_auth
) -> None:
"""Test setup and services."""
with selected_platforms(["switch"]):
assert await hass.config_entries.async_setup(config_entry.entry_id)