diff --git a/tests/components/demo/test_init.py b/tests/components/demo/test_init.py index beffa3ba332..3414ba7b6d0 100644 --- a/tests/components/demo/test_init.py +++ b/tests/components/demo/test_init.py @@ -65,7 +65,7 @@ async def test_demo_statistics(hass, recorder_mock): "unit_of_measurement": "°C", } in statistic_ids assert { - "has_mean": False, + "has_mean": True, "has_sum": True, "name": None, "source": "demo",