Notify - pushbullet

Hello,

Since I upgraded to 0.51.1 a lot of things has stopped working which is a bit frustrating to say the least.
Could be that I have missed specific information but I can’t see anything related to this.

I’m using pushbullet to send information about my sensors to my phone via PB and I can’t use it anymore. My automation executes but I receive no message, even triggering a test message from HA Services fail with the following error in the home-assistant.log

Help is much appreciated!

2017-08-21 21:59:18 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1807717520: Received {'service': 'huset', 'domain': 'notify', 'type': 'call_service', 'service_data': {'message': 'A message for many people'}, 'id': 15}
2017-08-21 21:59:18 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1973491344-31, domain=notify, service=huset, service_data=message=A message for many people>
2017-08-21 21:59:18 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 233, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-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 "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify/pushbullet.py", line 94, in send_message
    if self.hass.config.is_allowed_path(filepath):
  File "/srv/homeassistant/lib/python3.4/site-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'>

Just read that 051.2 fixes this. Will upgrade and try.

Same issue appears to arise in 0.52.1

I am getting this error in 52.1 as well, although I did not get it with 51.x.

Same problem here. 0.52.1 didn’t helped me either.

I downgraded to 0.52.1 and pushbullet started working again.
Edit: 0.51.2

You downgraded to 0.52.1?

Whoops, meant 0.51.2

Same issue here. Any solution apart from downgrading?

As stated by @Danielhiversen on https://community.home-assistant.io/t/pushbullet-error-in-0-52/25700/16the issue was fixed on the dev branch.

As a temporary solution I created the folder /config/custom_components/notify on my hassio and copy the file pushbullet.py from homeassistant github https://github.com/home-assistant/home-assistant/blob/ef1665b39fb512ae4fc40b56d8d6d5cf7150c7e8/homeassistant/components/notify/pushbullet.py and after restart home assistant pushbullet is working again on version 0.52.1.

Hope it help it help you guys. Thank you @Danielhiversen for the prompt response.

Thanks. That helped a lot