pymammotion 0.0.53__tar.gz → 0.0.54__tar.gz
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.
- {pymammotion-0.0.53 → pymammotion-0.0.54}/PKG-INFO +1 -1
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/devices/mammotion.py +18 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pyproject.toml +2 -2
- {pymammotion-0.0.53 → pymammotion-0.0.54}/LICENSE +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/README.md +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/cloud_gateway.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/cloud_service.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/aep_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/connect_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/dev_by_account_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/login_by_oauth_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/regions_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/session_by_authcode_response.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/tmp_constant.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/ble.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/ble_message.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/const.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/data/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/data/convert.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/data/framectrldata.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/bluetooth/data/notifydata.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/const.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/device.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/enums.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/excute_boarder_params.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/execute_boarder.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/generate_route_information.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/hash_list.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/location.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/mowing_modes.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/plan.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/rapid_state.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/region_data.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/mqtt/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/mqtt/event.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/mqtt/properties.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/mqtt/status.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/state_manager.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/event/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/event/event.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/http/_init_.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/http/http.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/abstract_message.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/mammotion_command.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/driver.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/media.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/navigation.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/network.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/ota.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/system.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/video.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/control/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/control/joystick.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/devices/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mqtt/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mqtt/mammotion_mqtt.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/common.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/common.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/common_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/common_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/dev_net.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/dev_net.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/dev_net_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/dev_net_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_msg.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_msg.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_msg_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_msg_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_mul.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_mul.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_mul_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/luba_mul_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_driver.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_driver.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_driver_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_driver_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_nav.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_nav.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_nav_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_nav_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_ota.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_ota.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_ota_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_ota_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_pept.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_pept.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_pept_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_pept_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_sys.proto +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_sys.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_sys_pb2.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/proto/mctrl_sys_pb2.pyi +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/py.typed +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/constant/__init__.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/constant/device_constant.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/datatype_converter.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/device_type.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/periodic.py +0 -0
- {pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/utility/rocker_util.py +0 -0
|
@@ -215,6 +215,9 @@ class MammotionBaseDevice:
|
|
|
215
215
|
def _update_nav_data(self, tmp_msg):
|
|
216
216
|
"""Update navigation data."""
|
|
217
217
|
nav_sub_msg = betterproto.which_one_of(tmp_msg.nav, "SubNavMsg")
|
|
218
|
+
if nav_sub_msg[1] is None:
|
|
219
|
+
_LOGGER.debug("Sub message was NoneType %s", nav_sub_msg[0])
|
|
220
|
+
return
|
|
218
221
|
nav = self._raw_data.get("nav", {})
|
|
219
222
|
if isinstance(nav_sub_msg[1], int):
|
|
220
223
|
nav[nav_sub_msg[0]] = nav_sub_msg[1]
|
|
@@ -225,6 +228,9 @@ class MammotionBaseDevice:
|
|
|
225
228
|
def _update_sys_data(self, tmp_msg):
|
|
226
229
|
"""Update system data."""
|
|
227
230
|
sys_sub_msg = betterproto.which_one_of(tmp_msg.sys, "SubSysMsg")
|
|
231
|
+
if sys_sub_msg[1] is None:
|
|
232
|
+
_LOGGER.debug("Sub message was NoneType %s", sys_sub_msg[0])
|
|
233
|
+
return
|
|
228
234
|
sys = self._raw_data.get("sys", {})
|
|
229
235
|
sys[sys_sub_msg[0]] = sys_sub_msg[1].to_dict(casing=betterproto.Casing.SNAKE)
|
|
230
236
|
self._raw_data["sys"] = sys
|
|
@@ -232,6 +238,9 @@ class MammotionBaseDevice:
|
|
|
232
238
|
def _update_driver_data(self, tmp_msg):
|
|
233
239
|
"""Update driver data."""
|
|
234
240
|
drv_sub_msg = betterproto.which_one_of(tmp_msg.driver, "SubDrvMsg")
|
|
241
|
+
if drv_sub_msg[1] is None:
|
|
242
|
+
_LOGGER.debug("Sub message was NoneType %s", drv_sub_msg[0])
|
|
243
|
+
return
|
|
235
244
|
drv = self._raw_data.get("driver", {})
|
|
236
245
|
drv[drv_sub_msg[0]] = drv_sub_msg[1].to_dict(casing=betterproto.Casing.SNAKE)
|
|
237
246
|
self._raw_data["driver"] = drv
|
|
@@ -239,6 +248,9 @@ class MammotionBaseDevice:
|
|
|
239
248
|
def _update_net_data(self, tmp_msg):
|
|
240
249
|
"""Update network data."""
|
|
241
250
|
net_sub_msg = betterproto.which_one_of(tmp_msg.net, "NetSubType")
|
|
251
|
+
if net_sub_msg[1] is None:
|
|
252
|
+
_LOGGER.debug("Sub message was NoneType %s", net_sub_msg[0])
|
|
253
|
+
return
|
|
242
254
|
net = self._raw_data.get("net", {})
|
|
243
255
|
if isinstance(net_sub_msg[1], int):
|
|
244
256
|
net[net_sub_msg[0]] = net_sub_msg[1]
|
|
@@ -249,6 +261,9 @@ class MammotionBaseDevice:
|
|
|
249
261
|
def _update_mul_data(self, tmp_msg):
|
|
250
262
|
"""Update mul data."""
|
|
251
263
|
mul_sub_msg = betterproto.which_one_of(tmp_msg.mul, "SubMul")
|
|
264
|
+
if mul_sub_msg[1] is None:
|
|
265
|
+
_LOGGER.debug("Sub message was NoneType %s", mul_sub_msg[0])
|
|
266
|
+
return
|
|
252
267
|
mul = self._raw_data.get("mul", {})
|
|
253
268
|
mul[mul_sub_msg[0]] = mul_sub_msg[1].to_dict(casing=betterproto.Casing.SNAKE)
|
|
254
269
|
self._raw_data["mul"] = mul
|
|
@@ -256,6 +271,9 @@ class MammotionBaseDevice:
|
|
|
256
271
|
def _update_ota_data(self, tmp_msg):
|
|
257
272
|
"""Update OTA data."""
|
|
258
273
|
ota_sub_msg = betterproto.which_one_of(tmp_msg.ota, "SubOtaMsg")
|
|
274
|
+
if ota_sub_msg[1] is None:
|
|
275
|
+
_LOGGER.debug("Sub message was NoneType %s", ota_sub_msg[0])
|
|
276
|
+
return
|
|
259
277
|
ota = self._raw_data.get("ota", {})
|
|
260
278
|
ota[ota_sub_msg[0]] = ota_sub_msg[1].to_dict(casing=betterproto.Casing.SNAKE)
|
|
261
279
|
self._raw_data["ota"] = ota
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pymammotion"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.54"
|
|
4
4
|
license = "GNU-3.0"
|
|
5
5
|
description = ""
|
|
6
6
|
readme = "README.md"
|
|
@@ -47,7 +47,7 @@ mypy = "^1.10.0"
|
|
|
47
47
|
pre-commit = "^3.7.1"
|
|
48
48
|
|
|
49
49
|
[tool.bumpver]
|
|
50
|
-
current_version = "0.0.
|
|
50
|
+
current_version = "0.0.54"
|
|
51
51
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
52
52
|
commit_message = "Bump version {old_version} -> {new_version}"
|
|
53
53
|
commit = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/dev_by_account_response.py
RENAMED
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/aliyun/dataclass/login_by_oauth_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/data/model/generate_route_information.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/abstract_message.py
RENAMED
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/mammotion_command.py
RENAMED
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/navigation.py
RENAMED
|
File without changes
|
{pymammotion-0.0.53 → pymammotion-0.0.54}/pymammotion/mammotion/commands/messages/network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|