Skip to content

Commit

Permalink
Merge branch 'release/2022.8.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Aug 27, 2022
2 parents 22afbf5 + 5b5f212 commit 62fb653
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def async_service_handler(service):
update_tasks.append(device.async_update_ha_state(True))

if update_tasks:
await asyncio.wait(update_tasks, loop=hass.loop)
await asyncio.wait(update_tasks)

for service in SERVICE_TO_METHOD:
schema = SERVICE_TO_METHOD[service].get("schema", SERVICE_SCHEMA)
Expand Down Expand Up @@ -574,7 +574,7 @@ def async_learn_command(self, slot, timeout):
yield from self.hass.async_add_job(self._device.learn_stop, slot)
return

yield from asyncio.sleep(1, loop=self.hass.loop)
yield from asyncio.sleep(1)

yield from self.hass.async_add_job(self._device.learn_stop, slot)
_LOGGER.error("Timeout. No infrared command captured")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"domain": "xiaomi_miio_airconditioningcompanion",
"name": "Xiaomi Mi and Aqara Air Conditioning Companion",
"config_flow": false,
"version": "2022.4.6.1",
"version": "2022.8.0.0",
"iot_class": "local_polling",
"documentation": "https://github.com/syssi/xiaomi_airconditioningcompanion",
"issue_tracker": "https://github.com/syssi/xiaomi_airconditioningcompanion/issues",
"requirements": [
"construct==2.10.56",
"python-miio>=0.5.11"
"python-miio>=0.5.12"
],
"dependencies": ["sensor"],
"codeowners": [
Expand Down
3 changes: 1 addition & 2 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "Xiaomi Mi and Aqara Air Conditioning Companion Integration",
"content_in_root": false,
"render_readme": true,
"iot_class": "local_polling"
"render_readme": true
}

0 comments on commit 62fb653

Please sign in to comment.