Check if robot has boundaries to update (#38030)

This commit is contained in:
Daniel Shokouhi authored and Franck Nijhof committed 2020-07-22 15:36:13 +02:00
1 parent 34751fcd86
commit 0cd8dce9df
1 file changed
+7 -6
+7 -6
View File
@@ -264,12 +264,13 @@ class NeatoConnectedVacuum(StateVacuumEntity):
maps["name"], maps["name"],
robot_boundaries, robot_boundaries,
) )
self._robot_boundaries += robot_boundaries["data"]["boundaries"] if "boundaries" in robot_boundaries["data"]:
_LOGGER.debug( self._robot_boundaries += robot_boundaries["data"]["boundaries"]
"List of boundaries for '%s': %s", _LOGGER.debug(
self.entity_id, "List of boundaries for '%s': %s",
self._robot_boundaries, self.entity_id,
) self._robot_boundaries,
)
@property @property
def name(self): def name(self):