pymammotion 0.2.40__py3-none-any.whl → 0.2.41__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,6 +77,8 @@ class StateManager:
77
77
  self._device.buffer(sys_msg[1])
78
78
  case "toapp_report_data":
79
79
  self._device.update_report_data(sys_msg[1])
80
+ if self.queue_command_callback:
81
+ await self.queue_command_callback("get_report_cfg", stop=True)
80
82
  case "mow_to_app_info":
81
83
  self._device.mow_info(sys_msg[1])
82
84
  case "system_tard_state_tunnel":
@@ -203,7 +203,7 @@ class MammotionBaseDevice:
203
203
  try:
204
204
  # work out why this crashes sometimes for better proto
205
205
 
206
- if self._cloud_device:
206
+ if self._cloud_device and len(self._mower.map.area_name) == 0:
207
207
  await self.queue_command("get_area_name_list", device_id=self._cloud_device.iotId)
208
208
  except Exception:
209
209
  """Do nothing for now."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymammotion
3
- Version: 0.2.40
3
+ Version: 0.2.41
4
4
  Summary:
5
5
  License: GNU-3.0
6
6
  Author: Michael Arthur
@@ -38,7 +38,7 @@ pymammotion/data/mqtt/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdr
38
38
  pymammotion/data/mqtt/event.py,sha256=plt53w3kHulB_MfbkxK9j7AfdQ5ahVU2s4kiQMoLio4,4612
39
39
  pymammotion/data/mqtt/properties.py,sha256=HkBPghr26L9_b4QaOi1DtPgb0UoPIOGSe9wb3kgnM6Y,2815
40
40
  pymammotion/data/mqtt/status.py,sha256=zqnlo-MzejEQZszl0i0Wucoc3E76x6UtI9JLxoBnu54,1067
41
- pymammotion/data/state_manager.py,sha256=c-O9TRmQ1ZkDjgBZqY72DeKJsaiyK8K3pl8Adg1cR7w,3657
41
+ pymammotion/data/state_manager.py,sha256=V9fcvC7CSzw0tT-x7Xmh_EbCXgA4z7JPJLLF8ILMNY4,3788
42
42
  pymammotion/event/__init__.py,sha256=mgATR6vPHACNQ-0zH5fi7NdzeTCDV1CZyaWPmtUusi8,115
43
43
  pymammotion/event/event.py,sha256=UzYnxV5DfvMDK3E06UvSzvzuBbaXOOUwO6xYt_zn9To,2034
44
44
  pymammotion/http/_init_.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -59,7 +59,7 @@ pymammotion/mammotion/commands/messages/video.py,sha256=_8lJsU4sLm2CGnc7RDkueA0A
59
59
  pymammotion/mammotion/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  pymammotion/mammotion/control/joystick.py,sha256=QfBVxM_gxpWsZAGO90whtgxCI2tIZ3TTad9wHIPsU9s,5640
61
61
  pymammotion/mammotion/devices/__init__.py,sha256=f2qQFPgLGmV85W2hSlMUh5BYuht9o_Ar_JEAAMD4fsE,102
62
- pymammotion/mammotion/devices/base.py,sha256=jUSmwUJ-Vy9jazy8A7J3ByN6NXMV9HoMWJBekJ19Ed4,11002
62
+ pymammotion/mammotion/devices/base.py,sha256=l1IKBMbUX8_IGQuEhLaFyNWmT3jBG5eai4_EvYLKKs0,11042
63
63
  pymammotion/mammotion/devices/mammotion.py,sha256=JnT5q5z9AxPI71WBu4kwdJwpYoWCJ_WkU315Cy1bPQM,11701
64
64
  pymammotion/mammotion/devices/mammotion_bluetooth.py,sha256=sgGeyQeAeA3lQodcalRYS4nDNAzjfFs9SddIB1kadvw,17355
65
65
  pymammotion/mammotion/devices/mammotion_cloud.py,sha256=dk49VY9yHO3d-Nb17y-D4YIURs2FTLMzWHUYrxBYhtw,10116
@@ -117,7 +117,7 @@ pymammotion/utility/map.py,sha256=GYscVMg2cX3IPlNpCBNHDW0S55yS1WGRf1iHnNZ7TfQ,22
117
117
  pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tpfI,615
118
118
  pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
119
119
  pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
120
- pymammotion-0.2.40.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
121
- pymammotion-0.2.40.dist-info/METADATA,sha256=lG5KLR1KDcyAp0jwXabkMXO-tcCHM-2U1Rj1DGSA6pg,4052
122
- pymammotion-0.2.40.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
123
- pymammotion-0.2.40.dist-info/RECORD,,
120
+ pymammotion-0.2.41.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
121
+ pymammotion-0.2.41.dist-info/METADATA,sha256=PvEZh8Kc-G_xRw2ui8RLdm8ISx1Rn3yLlmUCxuNhGT8,4052
122
+ pymammotion-0.2.41.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
123
+ pymammotion-0.2.41.dist-info/RECORD,,