Skip to content

Commit

Permalink
Fix service load (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukramJ committed Dec 28, 2021
1 parent d71a5e3 commit 9d09e0e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hahm/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hahm/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"dependencies": [],
"codeowners": ["@danielperna84", "@SukramJ"],
"iot_class": "local_push",
"version": "0.7.0"
"version": "0.7.1"
}
3 changes: 0 additions & 3 deletions custom_components/hahm/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 9d09e0e

Please sign in to comment.