Limit derivative test (#31717)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-02-11 09:03:52 +01:00
1 parent 5a0f21cbe3
commit 6fcf5472a5
1 file changed
+2 -2
+2 -2
View File
@@ -131,8 +131,8 @@ async def test_data_moving_average_for_discrete_sensor(hass):
# (because the true derivative is 1 °C/min) an error of less than 10%.
temperature_values = []
for temperature in range(60):
temperature_values += [temperature] * 60
for temperature in range(6):
temperature_values += [temperature] * 6
time_window = 600
times = list(range(len(temperature_values)))