Skip to content

Commit 27a19a6

Browse files
committed
Fix of __init__.py
1 parent f99bd0b commit 27a19a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/meshcore_sms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
2020
"""Set up MeshCore SMS Gateway from a config entry."""
2121

2222
# Check if MeshCore integration is loaded
23-
if "meshcore" not in hass.config.integrations:
23+
if "meshcore" not in hass.data:
2424
_LOGGER.error("MeshCore integration is not loaded. Please install and configure it first.")
2525
raise ConfigEntryNotReady("MeshCore integration is required")
2626

custom_components/meshcore_sms/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "meshcore_sms",
33
"name": "MeshCore SMS Gateway",
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"documentation": "https://github.com/mikewren/meshcore-sms",
66
"issue_tracker": "https://github.com/mikewren/meshcore-sms/issues",
77
"dependencies": ["meshcore"],

0 commit comments

Comments
 (0)