Today I updated to 0.61.1, and Pushbullet is now broken.
This is from the log.
2018-01-20 13:42:01 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall notify.pushbullet: target=['channel/hem'], message=<homeassistant.helpers.template.Template object at 0x705f0470>>
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/lib/python3.6/site-packages/homeassistant/components/notify/__init__.py", line 137, in async_notify_message
yield from notify_service.async_send_message(**kwargs)
File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/notify/pushbullet.py", line 125, in send_message
self.pbtargets[ttype][tname])
File "/usr/lib/python3.6/site-packages/homeassistant/components/notify/pushbullet.py", line 166, in _push_data
pusher.push_note(title, message, email=email)
TypeError: push_note() got an unexpected keyword argument 'email'
Here is a copy and paste of one of the notifications that used to work.
Noticed today that I got the same error message to with 0.61.1>
Error executing service <ServiceCall notify.katrinelund: message=
<homeassistant.helpers.template.Template object at 0x6425a8f0>, target=['channel/katrinelund']>
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/notify/__init__.py", line 137, in async_notify_message
yield from notify_service.async_send_message(**kwargs)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/notify/pushbullet.py", line 125, in send_message
self.pbtargets[ttype][tname])
File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/notify/pushbullet.py", line 166, in _push_data
pusher.push_note(title, message, email=email)
TypeError: push_note() got an unexpected keyword argument 'email'
I am simply trying to get it working again, and test script fails. Here is test script:
test_pushbullet:
alias: 'test_pushbullet'
sequence:
- service: notify.mypushbullet
data:
title: TEST Alert!
message: This is a test message!
Error: Unable to find service notify/mypushbullet
I have tried copying over pushbullet.py to custom_config/notify, but to no avail. Also see an error:
2018-04-23 20:33:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component notify
Traceback (most recent call last):
File â/usr/lib/python3.6/site-packages/homeassistant/setup.pyâ, line 145, in _async_setup_component
component.setup, hass, processed_config)
AttributeError: module âcustom_components.notifyâ has no attribute âsetupâ