I'm using this to quarterly generate a report for me, but would appreciate to have this sent by mail automatically - at least a reminder would be great.
Expected behavior
Create a notification on HA Mobile App or notify by email
Actual behavior
No notification
Steps to reproduce
`# Benachrichtigung senden - Versuch über Whatsapp
self.call_service("notify/whatsapp_to_nik", message=f"Test")
Sende Benachrichtigung - Versuch über HA App an alle Geräte
2024-08-18 13:14:32.304119 WARNING test_connection: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app await utils.run_in_executor(self, init) File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor response = future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/test_connection.py", line 11, in initialize self.call_service("notify/whatsapp_to_nik", message=f"Test") File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 231, in inner_sync_wrapper f = run_coroutine_threadsafe(self, coro(self, *args, *kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 313, in run_coroutine_threadsafe result = future.result(self.AD.internal_function_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result return self.get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in get_result raise self._exception File "/usr/lib/python3.11/site-packages/appdaemon/adapi.py", line 1762, in call_service return await self.AD.services.call_service(namespace, d, s, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/appdaemon/services.py", line 166, in call_service raise DomainException(f"Unknown domain ({namespace}/{domain}) in call_service from {name}") appdaemon.exceptions.DomainException: Unknown domain (default/notify) in call_service from test_connection
2024-08-18 13:14:32.303482 WARNING test_connection: ------------------------------------------------------------
2024-08-18 13:14:32.303375 WARNING test_connection: Unexpected error running initialize() for test_connection
2024-08-18 13:14:32.303276 WARNING test_connection: ------------------------------------------------------------
2024-08-18 13:14:29.291803 WARNING test_connection: ------------------------------------------------------------
2024-08-18 13:14:29.291706 WARNING test_connection: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app await utils.run_in_executor(self, init) File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor response = future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/test_connection.py", line 11, in initialize self.call_service("notify/whatsapp_to_nik", message=f"Test") File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 231, in inner_sync_wrapper f = run_coroutine_threadsafe(self, coro(self, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 313, in run_coroutine_threadsafe result = future.result(self.AD.internal_function_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result return self.get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in get_result raise self._exception File "/usr/lib/python3.11/site-packages/appdaemon/adapi.py", line 1762, in call_service return await self.AD.services.call_service(namespace, d, s, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/appdaemon/services.py", line 166, in call_service raise DomainException(f"Unknown domain ({namespace}/{domain}) in call_service from {name}") appdaemon.exceptions.DomainException: Unknown domain (default/notify) in call_service from test_connection
2024-08-18 13:14:29.291042 WARNING test_connection: ------------------------------------------------------------
2024-08-18 13:14:29.290961 WARNING test_connection: Unexpected error running initialize() for test_connection
2024-08-18 13:14:29.290862 WARNING test_connection: ------------------------------------------------------------
`
Proposed changes
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
Problem/Motivation
Expected behavior
Actual behavior
Steps to reproduce
Log Output
Proposed changes