diff --git a/homeassistant/components/history.py b/homeassistant/components/history.py index 01f75eabb5a..a723f9cbd71 100644 --- a/homeassistant/components/history.py +++ b/homeassistant/components/history.py @@ -147,8 +147,6 @@ def _api_history_period(handler, path_match, data): end_time = start_time + one_day - print("Fetching", start_time, end_time) - entity_id = data.get('filter_entity_id') handler.write_json(