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