Great! I’m using Keep for ages as my shopping list and was also very dissapointed to find out that it was not the default shopping list for my Google Home’s. Now my life has become much easier
Thanks for sharing!
I’m having trouble installing. I installed the gkeepapi
but getting the following error:
2018-03-31 22:05:54 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.google_keep. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 142, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 673, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/google_keep.py", line 19, in <module>
import gkeepapi # https://github.com/kiwiz/gkeepapi
ImportError: No module named 'gkeepapi'
Update:
I forgot to install it in the virtual environment. Now that I did, I got a new error which tells me I have to login through a browser?
2018-03-31 22:43:27 ERROR (MainThread) [homeassistant.setup] Error during setup of component google_keep
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
component.setup, hass, processed_config)
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 "/home/homeassistant/.homeassistant/custom_components/google_keep.py", line 66, in setup
login_success = keep.login(username, password)
File "/srv/homeassistant/lib/python3.5/site-packages/gkeepapi/__init__.py", line 344, in login
self._version = None
File "/srv/homeassistant/lib/python3.5/site-packages/gkeepapi/__init__.py", line 48, in login
self._email = None
gkeepapi.exception.LoginException: ('NeedsBrowser', 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.')