diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index fbd2f465644..903fb728b81 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -409,7 +409,7 @@ def _sorted_states_to_json( ] ) else: - ent_results.extend([LazyState(db_state) for db_state in group]) + ent_results.extend(LazyState(db_state) for db_state in group) continue # With minimal response we only provide a native