Hi,
I upgraded to HA core 2025.3.3 frontend 20250306.0 a few weeks. just noticed my phone starts quietly. Just checking it appears notification sent to my phone or ipad won’t work. Manual run action, show action successfully. However, no message received. in Logs, following errors recorded.
Logger: homeassistant.components.mobile_app.notify
Source: components/mobile_app/notify.py:202
integration: Mobile App (documentation, issues)
First occurred: April 4, 2025 at 11:16:45 PM (58 occurrences)
Last logged: 9:03:19 PM
Timeout sending notification to https://mobile-apps.home-assistant.io/api/sendPush/android/v1
Timeout sending notification to https://mobile-apps.home-assistant.io/api/sendPushNotification
Logger: homeassistant.components.websocket_api.http.connection
Source: components/mobile_app/notify.py:129
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:01:52 PM (2 occurrences)
Last logged: 9:02:17 PM
[1315987712] Error handling message: Unknown error (unknown_error) William from 192.168.18.79 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
script_result = await script_obj.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
msg.get("variables"), context=context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1828, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 460, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
self._handle_exception(
~~~~~~~~~~~~~~~~~~~~~~^
ex, continue_on_error, self._log_exceptions or log_exceptions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 556, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 524, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1009, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 624, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/notify/legacy.py", line 256, in _async_notify_message_service
await self.async_send_message(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/notify.py", line 129, in async_send_message
registration = self.hass.data[DOMAIN][DATA_CONFIG_ENTRIES][target].data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'mobile.cph2035'
Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:524
First occurred: 9:01:51 PM (2 occurrences)
Last logged: 9:02:17 PM
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'mobile.cph2035'
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'mobile.mobile_app_cph2305'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 524, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1009, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 624, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/notify/legacy.py", line 256, in _async_notify_message_service
await self.async_send_message(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/notify.py", line 129, in async_send_message
registration = self.hass.data[DOMAIN][DATA_CONFIG_ENTRIES][target].data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'mobile.cph2035'