Skip to content

Commit

Permalink
chore(lib): bump version (#240)
Browse files Browse the repository at this point in the history
* chore(lib): bump version

* chore(lib): bump 2.1.1
  • Loading branch information
rokam authored Jul 20, 2024
1 parent aa5d91e commit a6b5dac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions custom_components/midea_ac_lan/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
from homeassistant.util.json import load_json
from midealocal.cloud import (
MideaCloud,
default_keys,
get_midea_cloud,
)
from midealocal.device import MideaDevice, ProtocolVersion
Expand Down Expand Up @@ -240,6 +239,7 @@ async def async_step_login(
"""User login steps."""
# get cloud servers configs
cloud_servers = await MideaCloud.get_cloud_servers()
default_keys = await MideaCloud.get_default_keys()
# add skip login option to web UI with key 99
cloud_servers[next(iter(default_keys))] = SKIP_LOGIN
# user input data exist
Expand Down Expand Up @@ -431,7 +431,8 @@ async def _check_key_from_cloud(
return {"error": "cloud_none"}

# get device token/key from cloud
keys = await self.cloud.get_keys(appliance_id)
keys = await self.cloud.get_cloud_keys(appliance_id)
default_keys = await MideaCloud.get_default_keys()
# use token/key to connect device and confirm token result
for k, value in keys.items():
# skip default_key
Expand Down
2 changes: 1 addition & 1 deletion custom_components/midea_ac_lan/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"integration_type": "device",
"iot_class": "local_push",
"issue_tracker": "https://github.com/wuwentao/midea_ac_lan/issues",
"requirements": ["pycryptodome", "midea-local==1.3.2"],
"requirements": ["pycryptodome", "midea-local==2.1.1"],
"version": "v0.5.4"
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycryptodome==3.20.0
midea-local==1.3.2
midea-local==2.1.1

0 comments on commit a6b5dac

Please sign in to comment.