Update Neato Library And Reduce Cloud Calls (#15072)

* Update Neato library to 0.0.6 and reduce the amount of calls to the cloud

* Remove file commited in error

* Lint
This commit is contained in:
Daniel Shokouhi authored and Paulus Schoutsen committed 2018-06-20 21:46:15 -04:00
1 parent 8d22754a06
commit 6cabbd2592
5 files changed
+11 -6

No files matched your search

+3 -3
View File
@@ -17,8 +17,8 @@ from homeassistant.util import Throttle
_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['https://github.com/jabesq/pybotvac/archive/v0.0.5.zip'
'#pybotvac==0.0.5']
REQUIREMENTS = ['https://github.com/jabesq/pybotvac/archive/v0.0.6.zip'
'#pybotvac==0.0.6']
DOMAIN = 'neato'
NEATO_ROBOTS = 'neato_robots'
@@ -122,7 +122,7 @@ class NeatoHub(object):
_LOGGER.error("Unable to connect to Neato API")
return False
@Throttle(timedelta(seconds=1))
@Throttle(timedelta(seconds=60))
def update_robots(self):
"""Update the robot states."""
_LOGGER.debug("Running HUB.update_robots %s",