mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix botvac connected maps call as it is not a supported model (#21752)
This commit is contained in:
parent
44341a958a
commit
e412317194
@ -186,10 +186,11 @@ class NeatoConnectedVacuum(StateVacuumDevice):
|
||||
self._battery_level = self._state['details']['charge']
|
||||
|
||||
if self._robot_has_map:
|
||||
robot_map_id = self._robot_maps[self._robot_serial][0]['id']
|
||||
if self._state['availableServices']['maps'] != "basic-1":
|
||||
robot_map_id = self._robot_maps[self._robot_serial][0]['id']
|
||||
|
||||
self._robot_boundaries = self.robot.get_map_boundaries(
|
||||
robot_map_id).json()
|
||||
self._robot_boundaries = self.robot.get_map_boundaries(
|
||||
robot_map_id).json()
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user