Page 1 of 1

Keine Nachrichten aus Home Assistant

Posted: 30. Aug 2020, 10:26
by hassiostleute
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'

Re: Keine Nachrichten aus Home Assistant

Posted: 30. Aug 2020, 14:20
by admin
unter Dienstdaten ist das Wort ALARM nicht in Hochkommatas gesetzt, eventuell iegt es daran!

Grüße Kevin

Re: Keine Nachrichten aus Home Assistant

Posted: 30. Aug 2020, 14:33
by hassiostleute
leider nicht:

title: 'ALARM'
message: '!!! Der Alarm wurde ausgelöst !!!'

das hat nicht geholfen.

Re: Keine Nachrichten aus Home Assistant

Posted: 30. Aug 2020, 19:26
by admin
eventuell Ausrufezeichen und Umlaute weglassen. Wenn dieser Test nicht funktioniert, dann bitte im home-assistant forum nach Hilfe fragen.
Das Modul selbst läuft tadellos, da es bei mir und auch bei anderen Kunden funktioniert!

Das Problem wird an anderer Stelle liegen!