diff --git a/custom_components/tauron_amiplus/__init__.py b/custom_components/tauron_amiplus/__init__.py index ac182d1..615a350 100644 --- a/custom_components/tauron_amiplus/__init__.py +++ b/custom_components/tauron_amiplus/__init__.py @@ -55,7 +55,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry): ) config_entry.async_on_unload(config_entry.add_update_listener(async_reload_entry)) service = DownloadStatisticsService(hass) - await hass.services.async_register(service.domain, service.service, service.async_handle_service, service.schema) + hass.services.async_register(service.domain, service.service, service.async_handle_service, service.schema) return True diff --git a/custom_components/tauron_amiplus/manifest.json b/custom_components/tauron_amiplus/manifest.json index b234a15..d270c5f 100644 --- a/custom_components/tauron_amiplus/manifest.json +++ b/custom_components/tauron_amiplus/manifest.json @@ -8,5 +8,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues", "requirements": ["requests"], - "version": "v2.4.12" + "version": "v2.4.13" }