1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Reduce size of get_statistics_during_period WS API response (#82131)

This commit is contained in:
Erik Montnemery
2022-11-16 17:36:30 +01:00
committed by GitHub
parent bb64b39d0e
commit 607a0e7697
12 changed files with 588 additions and 591 deletions

View File

@@ -35,7 +35,8 @@ async def test_async_setup_entry(recorder_mock, hass):
None,
[statistic_id],
"hour",
True,
None,
{"start", "state", "mean", "min", "max", "last_reset", "sum"},
)
assert len(stats) == 1