diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index 213f773fb60..dd7d9bf8585 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -19,7 +19,6 @@ from homeassistant.const import ( from homeassistant.helpers import location import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -from homeassistant.util import Throttle import homeassistant.util.dt as dt_util _LOGGER = logging.getLogger(__name__) @@ -33,7 +32,7 @@ CONF_TRAVEL_MODE = "travel_mode" DEFAULT_NAME = "Google Travel Time" -MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5) +SCAN_INTERVAL = timedelta(minutes=5) ALL_LANGUAGES = [ "ar", @@ -256,7 +255,6 @@ class GoogleTravelTimeSensor(Entity): """Return the unit this state is expressed in.""" return self._unit_of_measurement - @Throttle(MIN_TIME_BETWEEN_UPDATES) def update(self): """Get the latest data from Google.""" options_copy = self._options.copy()