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

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