From 9d09e0ef3bb97cb4301d50c72c4ab015a1caf7fa Mon Sep 17 00:00:00 2001 From: SukramJ Date: Tue, 28 Dec 2021 20:28:34 +0100 Subject: [PATCH] Fix service load (#62) --- changelog.txt | 3 +++ custom_components/hahm/config_flow.py | 2 +- custom_components/hahm/manifest.json | 2 +- custom_components/hahm/services.py | 3 --- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index f0dd3e79..97647e4b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +Version 0.7.1 (2021-12-28) +- Fix service load + Version 0.7.0 (2021-12-28) - Use entity services for climate - Restart ConfigFlow on Error diff --git a/custom_components/hahm/config_flow.py b/custom_components/hahm/config_flow.py index a2cc5321..4c95e6f8 100644 --- a/custom_components/hahm/config_flow.py +++ b/custom_components/hahm/config_flow.py @@ -21,7 +21,7 @@ ) from hahomematic.xml_rpc_proxy import NoConnection import voluptuous as vol -from voluptuous.schema_builder import Schema, UNDEFINED +from voluptuous.schema_builder import UNDEFINED, Schema from homeassistant import config_entries from homeassistant.config_entries import ConfigEntry diff --git a/custom_components/hahm/manifest.json b/custom_components/hahm/manifest.json index dd9ca610..dd2fec58 100644 --- a/custom_components/hahm/manifest.json +++ b/custom_components/hahm/manifest.json @@ -12,5 +12,5 @@ "dependencies": [], "codeowners": ["@danielperna84", "@SukramJ"], "iot_class": "local_push", - "version": "0.7.0" + "version": "0.7.1" } diff --git a/custom_components/hahm/services.py b/custom_components/hahm/services.py index e34d124e..d1f409ad 100644 --- a/custom_components/hahm/services.py +++ b/custom_components/hahm/services.py @@ -98,9 +98,6 @@ async def async_setup_services(hass: HomeAssistant) -> None: """Setup services""" - if hass.services.async_services().get(DOMAIN): - return - @verify_domain_control(hass, DOMAIN) async def async_call_hahm_service(service: ServiceCall) -> None: """Call correct HomematicIP Cloud service."""