mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +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']
|
self._battery_level = self._state['details']['charge']
|
||||||
|
|
||||||
if self._robot_has_map:
|
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(
|
self._robot_boundaries = self.robot.get_map_boundaries(
|
||||||
robot_map_id).json()
|
robot_map_id).json()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user