the doco for the componenet says it should be in the following format
google_keep:
username: "[email protected]"
password: "this_is_my_Google_App_password"
list_name: "Grocery"
the doco for the componenet says it should be in the following format
google_keep:
username: "[email protected]"
password: "this_is_my_Google_App_password"
list_name: "Grocery"
yeah, tried making it a platform, no difference
what if you leave it as the documentaion says (no platform)
still the same error as in my first post
never get rid of it
i think something needs to be changed in that google_keep file
my other custom components are working
i just dont know what needs to be changed
2019-04-25 15:55:42 ERROR (MainThread) [homeassistant.setup] Error during setup of component google_keep
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/setup.py”, line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
AttributeError: module ‘custom_components.google_keep’ has no attribute ‘setup’
well at least you tried. it seems the dev of that component may have to resolve in this case
ok, a step closer, i moved google_keep.py together with init file in root of custom_components folder
now the error is a little bit different
it look like it was loading gkeepapi and installed that requirement
2019-04-25 19:14:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component google_keep
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/setup.py”, line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/google_keep.py”, line 66, in setup
login_success = keep.login(username, password)
File “/config/deps/lib/python3.7/site-packages/gkeepapi/init.py”, line 519, in login
self.load(auth, state, sync)
File “/config/deps/lib/python3.7/site-packages/gkeepapi/init.py”, line 565, in load
self.sync(True)
File “/config/deps/lib/python3.7/site-packages/gkeepapi/init.py”, line 838, in sync
self._parseNodes(changes[‘nodes’])
File “/config/deps/lib/python3.7/site-packages/gkeepapi/init.py”, line 891, in _parseNodes
self._nodes[curr].indent(node, False)
KeyError: ‘1683e6538c1.9aa6d19b68f2a8f6’
Ok, fixed
I downloaded that requirement gkeeapi from GitHub, extracted it, and copy pasted in my config directory…
Restarted and errors are gone and is working…
have you tried doing the same but putting it all back under its own custom component folder including the gkeepapi stuff
Yes, doesn’t work k, needs to be in root
Ok, now I know the reason… Developer answered…
I don’t need a google_keep.py file anymore… I now have it in the root folder of custom component…
I need to make a for now googlr_keep BUT.
Rename.then google_keep.py to init.py. …
Together with services.yaml and a manifest file…
Gonna try this later, still don’t know or why I need to have gkeeapi in my root config folder present… It should install in the deps folder
Hi,
Did you find a solution for this? I’ve updated to 0.92 and now a custom configuration I have is not working
yes , by creating manifest and init file, like with all custom components now
example here : https://github.com/aFrankLion/hass-google_keep/tree/master/google_keep