Keine Nachrichten aus Home Assistant
Posted: 30. Aug 2020, 10:26
Leider ist es mir nicht möglich Push-Benachrichtigungen aus Home Assistant zu versenden:
Hat jemand eine Idee?
/config/configuration.yaml:
notify:
- name: psayphoneps
platform: pushsafer
private_key: qwertzuiopü
Log:
Test: Error executing script. Unexpected error for call_service at pos 1: 'NoneType' object has no attribute 'get'
While executing automation automation.test
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 191, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 380, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1343, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 119, in async_notify_message
await notify_service.async_send_message(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 185, in async_send_message
await self.hass.async_add_job(partial(self.send_message, message, **kwargs))
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/pushsafer/notify.py", line 80, in send_message
picture1 = data.get(ATTR_PICTURE1)
AttributeError: 'NoneType' object has no attribute 'get'
Hat jemand eine Idee?
/config/configuration.yaml:
notify:
- name: psayphoneps
platform: pushsafer
private_key: qwertzuiopü
Log:
Test: Error executing script. Unexpected error for call_service at pos 1: 'NoneType' object has no attribute 'get'
While executing automation automation.test
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 191, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 380, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1343, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 119, in async_notify_message
await notify_service.async_send_message(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 185, in async_send_message
await self.hass.async_add_job(partial(self.send_message, message, **kwargs))
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/pushsafer/notify.py", line 80, in send_message
picture1 = data.get(ATTR_PICTURE1)
AttributeError: 'NoneType' object has no attribute 'get'