Correct type annotations in integration sensor tests (#120541)

This commit is contained in:
Erik Montnemery
2024-06-26 12:25:02 +02:00
committed by GitHub
parent 36d8ffa79a
commit f55ddfecf4

View File

@@ -321,7 +321,7 @@ async def test_restore_state_failed(hass: HomeAssistant, extra_attributes) -> No
)
async def test_trapezoidal(
hass: HomeAssistant,
sequence: tuple[tuple[float, float, float, ...]],
sequence: tuple[tuple[float, float, float], ...],
force_update: bool,
) -> None:
"""Test integration sensor state."""
@@ -385,7 +385,7 @@ async def test_trapezoidal(
)
async def test_left(
hass: HomeAssistant,
sequence: tuple[tuple[float, float, float, ...]],
sequence: tuple[tuple[float, float, float], ...],
force_update: bool,
) -> None:
"""Test integration sensor state with left reimann method."""
@@ -452,7 +452,7 @@ async def test_left(
)
async def test_right(
hass: HomeAssistant,
sequence: tuple[tuple[float, float, float, ...]],
sequence: tuple[tuple[float, float, float], ...],
force_update: bool,
) -> None:
"""Test integration sensor state with left reimann method."""