Review findings correction for zone cleaning support
This commit is contained in:
parent
024e5e5fae
commit
9c021a5226
@ -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"
|
||||||
}
|
}
|
22
vacuum.py
22
vacuum.py
@ -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
|
|
||||||
# )
|
|
||||||
|
Loading…
Reference in New Issue
Block a user