Skip to content

Commit a6ae2bf

Browse files
committed
fix issues with requirements for home assistant
1 parent b93af9f commit a6ae2bf

File tree

6 files changed

+1
-222
lines changed

6 files changed

+1
-222
lines changed

pymammotion/bluetooth/ble_message.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
import time
88

99
from bleak import BleakClient
10-
from jsonic.serializable import serialize
1110

1211
from pymammotion.aliyun.tmp_constant import tmp_constant
1312
from pymammotion.bluetooth.const import UUID_WRITE_CHARACTERISTIC
1413
from pymammotion.bluetooth.data.framectrldata import FrameCtrlData
1514
from pymammotion.bluetooth.data.notifydata import BlufiNotifyData
1615
from pymammotion.bluetooth.model.atomic_integer import AtomicInteger
17-
from pymammotion.data.model.execute_boarder import ExecuteBorder
1816
from pymammotion.proto import DevNet, DrvDevInfoReq, LubaMsg, MsgAttr, MsgCmdType, MsgDevice
1917
from pymammotion.utility.constant.device_constant import bleOrderCmd
2018

@@ -375,9 +373,6 @@ async def requestDeviceVersion(self) -> None:
375373
request = False
376374
_LOGGER.error(err)
377375

378-
async def sendBorderPackage(self, executeBorder: ExecuteBorder) -> None:
379-
await self.post_custom_data(serialize(executeBorder))
380-
381376
async def gatt_write(self, data: bytes) -> None:
382377
await self.client.write_gatt_char(UUID_WRITE_CHARACTERISTIC, data, True)
383378

pymammotion/data/model/excute_boarder_params.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

pymammotion/data/model/execute_boarder.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@ license = "GPL-3.0"
1616
dependencies = [
1717
"bleak>=0.21.0",
1818
"protobuf>=4.23.1",
19-
"py-jsonic>=0.0.2,<0.0.3",
2019
"aiohttp>=3.9.1",
2120
"paho-mqtt>=2.1.0,<3",
22-
"alicloud-gateway-iot>=1.0.0,<2",
2321
"alibabacloud-apigateway-util>=0.0.2,<0.0.3",
2422
"alibabacloud-iot-api-gateway>=0.0.4,<0.0.5",
2523
"bleak-retry-connector>=3.5.0",
26-
"jsonic>=1.0.0,<2",
2724
"mashumaro~=3.13",
2825
"orjson>=3.9.15,<4",
2926
"betterproto2>=0.9.1",
3027
"numpy>=1.26.0",
31-
"async-timeout>=4.0.3,<5",
3228
"cryptography>=43.0.1",
3329
"crcmod~=1.7",
3430
"pyjwt>=2.10.1",

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ alicloud-gateway-iot==1.0.0 ; python_version >= "3.10" and python_version < "3.1
1818
aliyun-iot-linkkit==1.2.13 ; python_version >= "3.10" and python_version < "3.13"
1919
aliyun-python-sdk-core==2.15.2 ; python_version >= "3.10" and python_version < "3.13"
2020
aliyun-python-sdk-iot==8.59.0 ; python_version >= "3.10" and python_version < "3.13"
21-
async-timeout==4.0.3 ; python_version >= "3.10" and python_version < "3.13"
2221
attrs==24.2.0 ; python_version >= "3.10" and python_version < "3.13"
2322
betterproto==1.2.5 ; python_version >= "3.10" and python_version < "3.13"
2423
bleak-retry-connector==3.5.0 ; python_version >= "3.10" and python_version < "3.13"

uv.lock

Lines changed: 1 addition & 165 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)