Review findings correction for zone cleaning support

This commit is contained in:
Fuempel 2022-06-19 16:41:38 +02:00 committed by GitHub
parent 024e5e5fae
commit 9c021a5226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 25 deletions

View File

@ -2,16 +2,17 @@
"domain": "vorwerk", "domain": "vorwerk",
"name": "Vorwerk Kobold", "name": "Vorwerk Kobold",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/vorwerk", "documentation": "https://github.com/trunneml/homeassistant-vorwerk",
"requirements": [ "requirements": [
"pybotvac==0.0.23" "pybotvac==0.0.23"
], ],
"codeowners": [ "codeowners": [
"@trunneml" "@trunneml",
"@fuempel"
], ],
"dependencies": [ "dependencies": [
"http" "http"
], ],
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"version": "0.9.6" "version": "0.10.0"
} }

View File

@ -104,7 +104,6 @@ class VorwerkConnectedVacuum(CoordinatorEntity, StateVacuumEntity):
self._name = f"{self.robot.name}" self._name = f"{self.robot.name}"
self._robot_serial = self.robot.serial self._robot_serial = self.robot.serial
self._robot_boundaries: list[str] = []
self._token = token self._token = token
@property @property
@ -284,24 +283,3 @@ class VorwerkConnectedVacuum(CoordinatorEntity, StateVacuumEntity):
_LOGGER.error( _LOGGER.error(
"Vorwerk vacuum connection error for '%s': %s", self.entity_id, ex "Vorwerk vacuum connection error for '%s': %s", self.entity_id, ex
) )
# TODO: OLD CODE
# boundary_id = None
# if zone is not None:
# for boundary in self._robot_boundaries:
# if zone in boundary["name"]:
# boundary_id = boundary["id"]
# if boundary_id is None:
# _LOGGER.error(
# "Zone '%s' was not found for the robot '%s'", zone, self.entity_id
# )
# return
# _LOGGER.info("Start cleaning zone '%s' with robot %s", zone, self.entity_id)
# try:
# self.robot.start_cleaning(mode, navigation, category, boundary_id)
# except NeatoRobotException as ex:
# _LOGGER.error(
# "Vorwerk vacuum connection error for '%s': %s", self.entity_id, ex
# )