Skip to content

Commit

Permalink
Merge pull request #64 from h4de5/feature/async-python3.11_fix
Browse files Browse the repository at this point in the history
Feature/async python3.11 fix
  • Loading branch information
h4de5 authored Jun 9, 2023
2 parents 49fa0e1 + 126c532 commit 5c1acfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/vimar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
SERVICE_RELOAD_DEFAULT = "reload_default"
SERVICE_RELOAD_DEFAULT_SCHEMA = vol.Schema({})

@asyncio.coroutine
# @ asyncio.coroutine
async def async_setup(hass: HomeAssistant, config: Config):
"""Set up from config."""
hass.data.setdefault(DOMAIN, {})
Expand Down Expand Up @@ -206,4 +206,4 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None:
"""Reload config entry."""
await async_unload_entry(hass, entry)
await async_setup_entry(hass, entry)
await async_setup_entry(hass, entry)
2 changes: 1 addition & 1 deletion custom_components/vimar/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"documentation": "https://github.com/h4de5/home-assistant-vimar",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/h4de5/home-assistant-vimar/issues",
"version": "2023.1.0"
"version": "2023.6.0"
}

0 comments on commit 5c1acfd

Please sign in to comment.