Skip to content

Commit

Permalink
Fixes for preliminary VSLAM support
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiğit Topcu committed Nov 29, 2022
1 parent 25b68de commit d75358f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dreame_vacuum/dreame/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ def set_update_interval(self, update_interval: float) -> None:
def set_device_running(self, running: bool, docked: bool) -> None:
if self._device_running != running or self._device_docked != docked:
if self._vslam_map and not self._device_docked and docked and self._map_data and self._map_data.saved_map_status == 1:
self._map_manager.request_next_map()
self.request_next_map()
else:
self.schedule_update(2)
self._device_running = running
Expand Down

0 comments on commit d75358f

Please sign in to comment.