diff --git a/homeassistant/components/history.py b/homeassistant/components/history.py index 849204e947d..c7fdda5fe34 100644 --- a/homeassistant/components/history.py +++ b/homeassistant/components/history.py @@ -11,7 +11,6 @@ from itertools import groupby from homeassistant.components import recorder, script import homeassistant.util.dt as dt_util -from homeassistant.const import HTTP_BAD_REQUEST from homeassistant.components.http import HomeAssistantView DOMAIN = 'history' diff --git a/homeassistant/components/logbook.py b/homeassistant/components/logbook.py index ac2468dd9a1..82747e73093 100644 --- a/homeassistant/components/logbook.py +++ b/homeassistant/components/logbook.py @@ -15,7 +15,7 @@ import homeassistant.util.dt as dt_util from homeassistant.components import recorder, sun from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, EVENT_STATE_CHANGED, - HTTP_BAD_REQUEST, STATE_NOT_HOME, STATE_OFF, STATE_ON) + STATE_NOT_HOME, STATE_OFF, STATE_ON) from homeassistant.core import DOMAIN as HA_DOMAIN from homeassistant.core import State from homeassistant.helpers.entity import split_entity_id