log fixed

This commit is contained in:
Marco Gazzola 2019-02-20 13:32:48 +01:00
parent 1cf9e5ae1f
commit 1f0e7b35e8

View file

@ -404,9 +404,7 @@ class MiroboVacuum(StateVacuumDevice):
zone,
repeats=1):
"""Clean selected area for the number of repeats indicated."""
_LOGGER.debug("Zone to clean: %s repeats: %s", zone, repeats)
from miio import DeviceException
_LOGGER.debug("Original zone: %s", zone)
for _zone in zone:
_zone.append(repeats)
_LOGGER.debug("Zone with repeats: %s", zone)