mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
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
@ -15,7 +15,7 @@ from homeassistant.helpers import discovery
|
|||||||
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, \
|
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, \
|
||||||
EVENT_HOMEASSISTANT_STOP
|
EVENT_HOMEASSISTANT_STOP
|
||||||
|
|
||||||
REQUIREMENTS = ['sucks==0.9.1']
|
REQUIREMENTS = ['sucks==0.9.3']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -189,10 +189,6 @@ class EcovacsVacuum(VacuumDevice):
|
|||||||
|
|
||||||
for key, val in self.device.components.items():
|
for key, val in self.device.components.items():
|
||||||
attr_name = ATTR_COMPONENT_PREFIX + key
|
attr_name = ATTR_COMPONENT_PREFIX + key
|
||||||
data[attr_name] = int(val * 100 / 0.2777778)
|
data[attr_name] = int(val * 100)
|
||||||
# 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)
|
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
@ -1385,7 +1385,7 @@ statsd==3.2.1
|
|||||||
steamodd==4.21
|
steamodd==4.21
|
||||||
|
|
||||||
# homeassistant.components.ecovacs
|
# homeassistant.components.ecovacs
|
||||||
sucks==0.9.1
|
sucks==0.9.3
|
||||||
|
|
||||||
# homeassistant.components.camera.onvif
|
# homeassistant.components.camera.onvif
|
||||||
suds-passworddigest-homeassistant==0.1.2a0.dev0
|
suds-passworddigest-homeassistant==0.1.2a0.dev0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user