From 93574d969364857b3cde939ff183a66239b6d559 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 13 Apr 2021 16:19:55 +0200 Subject: [PATCH] Fix and activate the start_cleaning call --- neatobotvac/integrationpluginneatobotvac.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/neatobotvac/integrationpluginneatobotvac.py b/neatobotvac/integrationpluginneatobotvac.py index 530d728f..3085fbd7 100644 --- a/neatobotvac/integrationpluginneatobotvac.py +++ b/neatobotvac/integrationpluginneatobotvac.py @@ -178,9 +178,6 @@ def pollService(): def executeAction(info): if info.actionTypeId == robotStartCleaningActionTypeId: - zone = info.paramValue(robotStartCleaningActionZoneParamTypeId) - logger.log("zone", zone) - refreshRobot(info.thing) if info.thing.stateValue(robotRobotStateStateTypeId) == "paused": thingsAndRobots[info.thing].resume_cleaning() @@ -234,7 +231,7 @@ def cleanWithRobot(robotThing, mapID, boundaryID): else: intNogo = 4 logger.log("Settings: Eco:", boolEco, "Care:", boolCare, "Enable nogo:", boolNogo, "mapID:", mapID, "boundaryID:", boundaryID) - # thingsAndRobots[robotThing].start_cleaning(mode=intEco, navigation_mode=intCare, category=intNogo, boundary_id=boundaryID, map_id=mapID) + thingsAndRobots[robotThing].start_cleaning(mode=intEco, navigation_mode=intCare, category=intNogo, boundary_id=boundaryID, map_id=mapID) def browseThing(browseResult):