Hi all
Attempted to add twitter on my notify system to be able to get some templates going.
So far i had no success.
I fallowed the instructions on the components page and fallowed the link to add a new app to my twitter account and give it a name some description and my personal website that is not connected with HA.
in my configuration.yaml i added:
notify: - name: twitt-notify platform: twitter consumer_key: xxxxxxxxxxxxxxxxxxx consumer_secret: xxxxxxxxxxxxxxxxxxx access_token: 1888811706-xxxxxxxxxxxxxxxxxxxxxxx access_token_secret: xxxxxxxxxxxxxxxxxxxxxxxx username: "@xxxxxxxxx"
For some reason i get thise erros in my log:
2018-03-03 20:23:36 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform twitter
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/notify/__init__.py", line 95, in async_setup_platform
platform.get_service, hass, p_config, discovery_info)
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/homeassistant/lib/python3.5/site-packages/homeassistant/components/notify/twitter.py", line 47, in get_service
config.get(CONF_USERNAME)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/notify/twitter.py", line 57, in __init__
from TwitterAPI import TwitterAPI
File "/srv/homeassistant/lib/python3.5/site-packages/TwitterAPI/TwitterAPI.py", line 11, in <module>
from requests_oauthlib import OAuth1
File "/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in <module>
if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()
I am running hasbian on raspberry pi 3
Any help is much appreciated
Thanks