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 authored and Fabian Affolter committed 2018-09-23 09:43:01 +02:00
1 parent 0d681b0ba6
commit eca1f050cd
3 files changed
+3 -7

No files matched your search

+1 -5
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