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:
parent
0d681b0ba6
commit
eca1f050cd
3 changed files with 3 additions and 7 deletions
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue