Enable map support #1

Merged
Erik merged 3 commits from yeet into main 2022-11-22 11:26:43 +01:00
2 changed files with 4 additions and 25 deletions
Showing only changes of commit 9c021a5226 - Show all commits

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
# )