mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +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,
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user