Skip to content

Commit

Permalink
Bump version to 1.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
qqaatw committed May 2, 2023
1 parent 7b8d5fa commit 74d7757
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions custom_components/jcihitachi_tw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from JciHitachi.api import JciHitachiAWSAPI

def _lazy_install():
custom_required_packages = ["LibJciHitachi==1.1.0"]
custom_required_packages = ["LibJciHitachi==1.2.0"]
links = "https://qqaatw.github.io/aws-crt-python-musllinux/"
for pkg in custom_required_packages:
if not is_installed(pkg) and not install_package(pkg, find_links=links):
Expand Down Expand Up @@ -69,6 +69,10 @@ async def async_update_data():
update_interval=DATA_UPDATE_INTERVAL,
)

# Reset the update scheduler as the data already exists in
# `hass.data[DOMAIN][UPDATED_DATA]`.
coordinator.async_set_updated_data(None)

return coordinator

async def async_setup(hass, config):
Expand Down Expand Up @@ -169,7 +173,7 @@ async def async_setup_entry(hass, config_entry):
hass.data[DOMAIN][UPDATE_DATA] = Queue()
hass.data[DOMAIN][UPDATED_DATA] = api.get_status(legacy=True)
hass.data[DOMAIN][COORDINATOR] = build_coordinator(hass, api)

# Start jcihitachi components
_LOGGER.debug("Starting JciHitachi components.")
for platform in PLATFORMS:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/jcihitachi_tw/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/qqaatw/JciHitachiHA/issues",
"requirements": [],
"version": "1.2.0"
"version": "1.3.0"
}

0 comments on commit 74d7757

Please sign in to comment.