We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e2e73 commit 09811d8Copy full SHA for 09811d8
appdaemon/services.py
@@ -74,7 +74,7 @@ def register_service(
74
75
with self.services_lock:
76
# first we confirm if the namespace exists
77
- if __name and self.AD.state.namespace_exists(namespace):
+ if __name and not self.AD.state.namespace_exists(namespace):
78
raise NamespaceException(f"Namespace {namespace}, doesn't exist")
79
80
elif not callable(callback):
0 commit comments