Pushbullet error HA 0.51.1

After upgrading to last version my pushbullet dosen’t work. Any idea?

(From notify: !include pushbullet.yaml)
    name: mypushbullet
    platform: pushbullet
    api_key: API

Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/notify/__init__.py", line 138, in async_notify_message
    yield from notify_service.async_send_message(**kwargs)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/notify/pushbullet.py", line 118, in send_message
    if self.hass.config.is_allowed_path(filepath):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1082, in is_allowed_path
    parent = pathlib.Path(path).parent
  File "/usr/lib/python3.4/pathlib.py", line 911, in __new__
    self = cls._from_parts(args, init=False)
  File "/usr/lib/python3.4/pathlib.py", line 590, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/usr/lib/python3.4/pathlib.py", line 582, in _parse_args
    % type(a))
TypeError: argument should be a path or str object, not <class 'NoneType'>

Fixed in 0.51.2

1 Like

Still not working

Worked for me. Make sure that it is only notify: in config and not notify me:

I’m was getting the same error as above, but after the upgrade to 0.52.1 now i’m getting

2017-08-30 14:18:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_data=message=The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!, domain=notify, service=james, service_call_id=140368487311960-23>
2017-08-30 14:18:05 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 234, in _step
    result = coro.throw(exc)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/notify/__init__.py", line 138, in async_notify_message
    yield from notify_service.async_send_message(**kwargs)
  File "/usr/lib/python3.4/asyncio/futures.py", line 386, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/notify/pushbullet.py", line 92, in send_message
    self._push_data(filepath, message, title, self.pushbullet, url)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/notify/pushbullet.py", line 142, in _push_data
    pusher.push_link(title, url, body=message, email=tname)
AttributeError: 'NoneType' object has no attribute 'push_link'

Just found this thread that is more active.