pymammotion 0.4.0a0__py3-none-any.whl → 0.4.0a1__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.
- pymammotion/mammotion/devices/mammotion.py +3 -2
- {pymammotion-0.4.0a0.dist-info → pymammotion-0.4.0a1.dist-info}/METADATA +1 -1
- {pymammotion-0.4.0a0.dist-info → pymammotion-0.4.0a1.dist-info}/RECORD +5 -5
- {pymammotion-0.4.0a0.dist-info → pymammotion-0.4.0a1.dist-info}/LICENSE +0 -0
- {pymammotion-0.4.0a0.dist-info → pymammotion-0.4.0a1.dist-info}/WHEEL +0 -0
@@ -14,7 +14,7 @@ from pymammotion.aliyun.model.dev_by_account_response import Device
|
|
14
14
|
from pymammotion.data.model.account import Credentials
|
15
15
|
from pymammotion.data.model.device import MowingDevice
|
16
16
|
from pymammotion.data.state_manager import StateManager
|
17
|
-
from pymammotion.http.http import
|
17
|
+
from pymammotion.http.http import MammotionHTTP
|
18
18
|
from pymammotion.mammotion.devices.mammotion_bluetooth import MammotionBaseBLEDevice
|
19
19
|
from pymammotion.mammotion.devices.mammotion_cloud import MammotionBaseCloudDevice, MammotionCloud
|
20
20
|
from pymammotion.mqtt import MammotionMQTT
|
@@ -230,7 +230,8 @@ class Mammotion:
|
|
230
230
|
async def login(self, account: str, password: str) -> CloudIOTGateway:
|
231
231
|
"""Login to mammotion cloud."""
|
232
232
|
cloud_client = CloudIOTGateway()
|
233
|
-
mammotion_http =
|
233
|
+
mammotion_http = MammotionHTTP()
|
234
|
+
await mammotion_http.login(account, password)
|
234
235
|
country_code = mammotion_http.login_info.userInformation.domainAbbreviation
|
235
236
|
_LOGGER.debug("CountryCode: " + country_code)
|
236
237
|
_LOGGER.debug("AuthCode: " + mammotion_http.login_info.authorization_code)
|
@@ -67,7 +67,7 @@ pymammotion/mammotion/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
67
67
|
pymammotion/mammotion/control/joystick.py,sha256=QfBVxM_gxpWsZAGO90whtgxCI2tIZ3TTad9wHIPsU9s,5640
|
68
68
|
pymammotion/mammotion/devices/__init__.py,sha256=f2qQFPgLGmV85W2hSlMUh5BYuht9o_Ar_JEAAMD4fsE,102
|
69
69
|
pymammotion/mammotion/devices/base.py,sha256=2IKm7CYGmvRLpJaAKp25tL23UhOoSEHJ6On5D0N5TSk,10763
|
70
|
-
pymammotion/mammotion/devices/mammotion.py,sha256=
|
70
|
+
pymammotion/mammotion/devices/mammotion.py,sha256=7kJXTIdlthnbgUBVPcrc3VnxOtLWvk0d2vFetfjwrg0,12590
|
71
71
|
pymammotion/mammotion/devices/mammotion_bluetooth.py,sha256=HUOKnjYUWTGjksyQDCPKF_u3dWo2ddgrWCBXnJ2VkwA,18963
|
72
72
|
pymammotion/mammotion/devices/mammotion_cloud.py,sha256=a9fB0ZCYElRxrjnwCM81RXCbxo5kJKhGa-BGck9U3-A,12949
|
73
73
|
pymammotion/mqtt/__init__.py,sha256=Ocs5e-HLJvTuDpVXyECEsWIvwsUaxzj7lZ9mSYutNDY,105
|
@@ -125,7 +125,7 @@ pymammotion/utility/map.py,sha256=GYscVMg2cX3IPlNpCBNHDW0S55yS1WGRf1iHnNZ7TfQ,22
|
|
125
125
|
pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tpfI,615
|
126
126
|
pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
|
127
127
|
pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
|
128
|
-
pymammotion-0.4.
|
129
|
-
pymammotion-0.4.
|
130
|
-
pymammotion-0.4.
|
131
|
-
pymammotion-0.4.
|
128
|
+
pymammotion-0.4.0a1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
129
|
+
pymammotion-0.4.0a1.dist-info/METADATA,sha256=QCWMHvLrUFFdZLfPDMwgdZ4pOuLG5tvLwO_N2gG48Rg,3936
|
130
|
+
pymammotion-0.4.0a1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
131
|
+
pymammotion-0.4.0a1.dist-info/RECORD,,
|
File without changes
|
File without changes
|