pymammotion 0.0.52__py3-none-any.whl → 0.0.53__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.

Potentially problematic release.


This version of pymammotion might be problematic. Click here for more details.

@@ -2,8 +2,6 @@
2
2
 
3
3
  from dataclasses import dataclass
4
4
 
5
- import betterproto
6
-
7
5
  from pymammotion.data.model import HashList
8
6
  from pymammotion.data.model.location import Location
9
7
  from pymammotion.proto.dev_net import DevNet
@@ -192,8 +192,6 @@ class MammotionBaseDevice:
192
192
  region_data.current_frame = current_frame
193
193
  await self._send_command_with_args("get_regional_data", regional_data=region_data)
194
194
 
195
-
196
-
197
195
  def _update_raw_data(self, data: bytes) -> None:
198
196
  """Update raw and model data from notifications."""
199
197
  tmp_msg = LubaMsg().parse(data)
@@ -487,6 +485,8 @@ class MammotionBaseBLEDevice(MammotionBaseDevice):
487
485
  )
488
486
  self._reset_disconnect_timer()
489
487
  await self._start_notify()
488
+ command_bytes = self._commands.send_todev_ble_sync(2)
489
+ await self._message.post_custom_data_bytes(command_bytes)
490
490
  self.schedule_ble_sync()
491
491
 
492
492
  async def _send_command_locked(self, key: str, command: bytes) -> bytes:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymammotion
3
- Version: 0.0.52
3
+ Version: 0.0.53
4
4
  Summary:
5
5
  License: GNU-3.0
6
6
  Author: Michael Arthur
@@ -20,7 +20,7 @@ pymammotion/bluetooth/data/notifydata.py,sha256=N1bphpueWUWbsWUcpZmMGt2CyCgLcKAF
20
20
  pymammotion/const.py,sha256=3plR6t5sFVhx3LoUbW5PE2gqIANoD-fSm-T0q8uIwIU,336
21
21
  pymammotion/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  pymammotion/data/model/__init__.py,sha256=d8FlIgCcWqoH3jJSpnm-IY-25RM-l2nbRwLtWjSHo74,222
23
- pymammotion/data/model/device.py,sha256=-Hb66EQbz2RXMx8dQ0kwqCmpn2fRtutoSwU4Xf0Y4hg,9139
23
+ pymammotion/data/model/device.py,sha256=lwcXCrcVCzRiUl2IYwyViColdjao9FvVFgsRIlEEeZg,9119
24
24
  pymammotion/data/model/enums.py,sha256=tD_vYsxstOV_lUkYF9uWkrjVOgAJPNnGevy_xmiu3WE,1558
25
25
  pymammotion/data/model/excute_boarder_params.py,sha256=kadSth4y-VXlXIZ6R-Ng-kDvBbM-3YRr8bmR86qR0U0,1355
26
26
  pymammotion/data/model/execute_boarder.py,sha256=oDb2h5tFtOQIa8OCNYaDugqCgCZBLjQRzQTNVcJVAGQ,1072
@@ -55,7 +55,7 @@ pymammotion/mammotion/commands/messages/video.py,sha256=_8lJsU4sLm2CGnc7RDkueA0A
55
55
  pymammotion/mammotion/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  pymammotion/mammotion/control/joystick.py,sha256=EWV20MMzQuhbLlNlXbsyZKSEpeM7x1CQL7saU4Pn0-g,6165
57
57
  pymammotion/mammotion/devices/__init__.py,sha256=T72jt0ejtMjo1rPmn_FeMF3pmp0LLeRRpc9WcDKEYYY,126
58
- pymammotion/mammotion/devices/mammotion.py,sha256=YlRPiVZfiXEB0U9H9f-Cgn4aXjoiyjyite4spUVf69E,29802
58
+ pymammotion/mammotion/devices/mammotion.py,sha256=nIErRyKQa1wlyBdzx-cmlf0EnYxs-cyFooWLXYKQXQE,29936
59
59
  pymammotion/mqtt/__init__.py,sha256=Ocs5e-HLJvTuDpVXyECEsWIvwsUaxzj7lZ9mSYutNDY,105
60
60
  pymammotion/mqtt/mammotion_mqtt.py,sha256=EBnUwqah-mZNcAn5Hq2sV3NKXueIYWNhYPiaXwaXdHg,9084
61
61
  pymammotion/proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -102,7 +102,7 @@ pymammotion/utility/datatype_converter.py,sha256=v6zym2Zu0upxQjR-xDqXwi3516zpntS
102
102
  pymammotion/utility/device_type.py,sha256=B_Y1WCRPlFMDOqC13H0ltInyPkbPMIxCoZccCC13fmc,8154
103
103
  pymammotion/utility/periodic.py,sha256=9wJMfwXPlx6Mbp3Fws7LLTI34ZDKphH1bva_Ggyk32g,3281
104
104
  pymammotion/utility/rocker_util.py,sha256=syPL0QN4zMzHiTIkUKS7RXBBptjdbkfNlPddwUD5V3A,7171
105
- pymammotion-0.0.52.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
106
- pymammotion-0.0.52.dist-info/METADATA,sha256=T_ZjjSw8nsBl5MU0MzTr-U6fVrfImiOP-VF21_adq6c,3884
107
- pymammotion-0.0.52.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
108
- pymammotion-0.0.52.dist-info/RECORD,,
105
+ pymammotion-0.0.53.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
106
+ pymammotion-0.0.53.dist-info/METADATA,sha256=IdOPpZXKqx9It6jOumkhyVDL0-i2Ex7X79Zy-ajSp_g,3884
107
+ pymammotion-0.0.53.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
108
+ pymammotion-0.0.53.dist-info/RECORD,,