mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Improve type hints in tasmota tests (#123913)
This commit is contained in:
parent
f6cb28eb5b
commit
ccde51da85
@ -10,6 +10,7 @@ from homeassistant.components.tasmota.const import (
|
||||
DEFAULT_PREFIX,
|
||||
DOMAIN,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
from tests.components.light.conftest import mock_light_profiles # noqa: F401
|
||||
@ -55,6 +56,6 @@ async def setup_tasmota_helper(hass):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def setup_tasmota(hass):
|
||||
async def setup_tasmota(hass: HomeAssistant) -> None:
|
||||
"""Set up Tasmota."""
|
||||
await setup_tasmota_helper(hass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user