mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Correct type annotations in integration sensor tests (#120541)
This commit is contained in:
parent
36d8ffa79a
commit
f55ddfecf4
@ -321,7 +321,7 @@ async def test_restore_state_failed(hass: HomeAssistant, extra_attributes) -> No
|
|||||||
)
|
)
|
||||||
async def test_trapezoidal(
|
async def test_trapezoidal(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state."""
|
"""Test integration sensor state."""
|
||||||
@ -385,7 +385,7 @@ async def test_trapezoidal(
|
|||||||
)
|
)
|
||||||
async def test_left(
|
async def test_left(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state with left reimann method."""
|
"""Test integration sensor state with left reimann method."""
|
||||||
@ -452,7 +452,7 @@ async def test_left(
|
|||||||
)
|
)
|
||||||
async def test_right(
|
async def test_right(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state with left reimann method."""
|
"""Test integration sensor state with left reimann method."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user