From 8a6370f7c91fec6c220bc2e438a236816c636341 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Tue, 13 Mar 2018 17:12:28 -0400 Subject: [PATCH] Revert throttle Arlo api calls (#13174) --- homeassistant/components/arlo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeassistant/components/arlo.py b/homeassistant/components/arlo.py index 77201e5ead9..7e51ec8c045 100644 --- a/homeassistant/components/arlo.py +++ b/homeassistant/components/arlo.py @@ -5,13 +5,11 @@ For more details about this component, please refer to the documentation at https://home-assistant.io/components/arlo/ """ import logging -from datetime import timedelta import voluptuous as vol from requests.exceptions import HTTPError, ConnectTimeout from homeassistant.helpers import config_validation as cv -from homeassistant.util import Throttle from homeassistant.const import CONF_USERNAME, CONF_PASSWORD REQUIREMENTS = ['pyarlo==0.1.2'] @@ -47,7 +45,6 @@ def setup(hass, config): arlo = PyArlo(username, password, preload=False) if not arlo.is_connected: return False - arlo.update = Throttle(timedelta(seconds=10))(arlo.update) hass.data[DATA_ARLO] = arlo except (ConnectTimeout, HTTPError) as ex: _LOGGER.error("Unable to connect to Netgear Arlo: %s", str(ex))