From f55ddfecf463e1452d6dd6f27231bcba504061a6 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 26 Jun 2024 12:25:02 +0200 Subject: [PATCH] Correct type annotations in integration sensor tests (#120541) --- tests/components/integration/test_sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/integration/test_sensor.py b/tests/components/integration/test_sensor.py index 03df38893a2..10f921ce603 100644 --- a/tests/components/integration/test_sensor.py +++ b/tests/components/integration/test_sensor.py @@ -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."""