Bump sucks (Ecovacs) lib to 0.9.3 (#16803)

* Bump sucks (Ecovacs) lib to 0.9.3

Changed code that was in place as a workaround pre-0.9.2. This version bump fixes a few issues.

* Update requirements_all
This commit is contained in:
Greg Laabs 2018-09-23 00:43:01 -07:00 committed by Fabian Affolter
parent 0d681b0ba6
commit eca1f050cd
3 changed files with 3 additions and 7 deletions

View File

@ -15,7 +15,7 @@ from homeassistant.helpers import discovery
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, \
EVENT_HOMEASSISTANT_STOP
REQUIREMENTS = ['sucks==0.9.1']
REQUIREMENTS = ['sucks==0.9.3']
_LOGGER = logging.getLogger(__name__)

View File

@ -189,10 +189,6 @@ class EcovacsVacuum(VacuumDevice):
for key, val in self.device.components.items():
attr_name = ATTR_COMPONENT_PREFIX + key
data[attr_name] = int(val * 100 / 0.2777778)
# The above calculation includes a fix for a bug in sucks 0.9.1
# When sucks 0.9.2+ is released, it should be changed to the
# following:
# data[attr_name] = int(val * 100)
data[attr_name] = int(val * 100)
return data

View File

@ -1385,7 +1385,7 @@ statsd==3.2.1
steamodd==4.21
# homeassistant.components.ecovacs
sucks==0.9.1
sucks==0.9.3
# homeassistant.components.camera.onvif
suds-passworddigest-homeassistant==0.1.2a0.dev0