Can someone please explain whereabouts this folder is that needs the pushbullet.py file to be copied to? I have tried to locate the folder as described in this thread but I have no joy.
I created the path and the folder notify as mentioned by @dodacs i.e. pi@raspberry:/home/homeassistant/.homeassistant/config/custom_components/notify and dumped the pushbullet.py file in this path but it doesnt work me.
I vaguely remember reading somewhere that if you create a custom_components folder, home assistant will include those components. I’m not 100% positive on this though, and perhaps others can confirm. I just renamed the old pushbullet.py file and downloaded the new one in its place.
@avalanchevm@Danielhiversen So I found the path where I had to dump the pushbullet.py file to, it was in srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify
However I still cannot get pushbullet to work and I get the following error with another error saying it cannot find the service “notify/mypushbullet"
2017-09-03 11:19:13 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform pushbullet
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify/__init__.py", line 103, in async_setu$
platform.get_service, hass, p_config, discovery_info)
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 31, in get_servi$
from pushbullet import PushBullet
File "/srv/homeassistant/lib/python3.4/site-packages/pushbullet/__init__.py", line 2, in <module>
from .pushbullet import Pushbullet
File "/srv/homeassistant/lib/python3.4/site-packages/pushbullet/pushbullet.py", line 5
""" Pushbullet platform for notify component. For
more details about this platform, please refer to
the documentation at
https://home-assistant.io/components/notify.pushbullet/
""" import logging import mimetypes import
2017-09-03 11:24:49 WARNING (MainThread) [homeassistant.core] Unable to find service notify/ahmed
I’m not sure I can offer further insight. The only other troubleshooting step I could suggest would be to generate a new API key in pushbullet and set up your configuration.yaml with the new key, and then try that. I actually did that prior to finding this thread, as I thought maybe pushbullet was the problem, and not home assistant.
I have replaced the file in that location and also replaced the same file found in srv/homeassistant/lib/python3.4/site-packages/pushbullet without knowing it was the incorrect location.
After doing this I cannot get pushbullet to work at all. Hence I was wondering if someone could help me with the original pushbullet.py file found in srv/homeassistant/lib/python3.4/site-packages/pushbullet so that I can restore the original file and hopefully it might resolve the issue.
@Coolie1101 you star! Indeed that was the issue with my pushbullet.
I resolved the issue by replacing the pushbullet.py file (that I had changed by mistake) using the link you provided in the path srv/homeassistant/lib/python3.4/site-packages/pushbullet and normal services resume.