Skip to content

Commit

Permalink
remove get maintainence for now and only get it with a sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Nov 19, 2024
1 parent ff5cccd commit 7dd24aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/mammotion/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ async def async_request_iot_sync(self, stop: bool = False) -> None:
RptInfoType.RIT_DEV_STA,
RptInfoType.RIT_DEV_LOCAL,
RptInfoType.RIT_WORK,
RptInfoType.RIT_MAINTAIN,
RptInfoType.RIT_BASESTATION_INFO,
RptInfoType.RIT_FW_INFO,
],
timeout=10000,
period=3000,
Expand Down Expand Up @@ -578,7 +581,6 @@ async def _async_update_data(self) -> MowingDevice:
await self.manager.start_map_sync(self.device_name)

await self.async_send_command("get_report_cfg")
await self.async_send_command("get_maintenance")

LOGGER.debug("Updated Mammotion device %s", self.device_name)
LOGGER.debug("================= Debug Log =================")
Expand Down

0 comments on commit 7dd24aa

Please sign in to comment.