mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-09-27 18:22:41 +00:00
fix type of parament of base class
This commit is contained in:
@@ -59,8 +59,7 @@ class MideaCloud:
|
||||
self._login_id = None
|
||||
|
||||
def _make_general_data(self):
|
||||
return {
|
||||
}
|
||||
return {}
|
||||
|
||||
async def _api_request(self, endpoint: str, data: dict, header=None) -> dict | None:
|
||||
header = header or {}
|
||||
@@ -147,7 +146,7 @@ class MideaCloud:
|
||||
|
||||
async def download_lua(
|
||||
self, path: str,
|
||||
device_type: str,
|
||||
device_type: int,
|
||||
sn: str,
|
||||
model_number: str | None,
|
||||
manufacturer_code: str = "0000",
|
||||
|
Reference in New Issue
Block a user