Custom Google Keep Notes sensor and Lovelace card

Well done, I see the github repos are compatible with HACS too.

I see this too: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Google-Keep

good work on the component, Iā€™ll have to give it a try

this would definitely be nice to have

I am trying to setup 3 cards with my kids chore lists on the cards, 1 card per kid. When I do this, it creates sensor.google_keep_sensor, sensor.google_keep_sensor_2 and sensor.google_keep_sensor_3. However, the json attributes of the 3 sensors keeps bouncing between the 3 cards. One moment the first sensor is kid 1, then kid 2, then kid 3 (I donā€™t think it actually rotates them in order like that though). Also, when using your card for this component, the cards will change their data just like the sensor (which actually makes sense since the data is changing). Is there a solution for this? I have setup each sensor with the list ID from the specific list for each kid.

edit: it also prints out the checklist with all the items crossed out even though they donā€™t show that way in Keep.
image

1 Like

Nice, is there also a service to add an item, so we can use it with Google assistant?

Thank you for feedback. I fixed all lines being crossed out(I had somehow mixed checked and unchecked notes).
As for the multiple keep sensors, I had not intended it to support multiple lists for now but I will add the functionality later.

1 Like

what are differences with :


1 Like

One is an integration, one is lovelace card.

I know, but the github links are other users, are there differences between the 2 sensors and 2 Lovelace cards?

To tell you the truth, I donā€™t know if there is a difference. When I needed Google keep notes sensor, I couldnā€™t find any solution so I created this.
Looks like this was uploaded almost at the same time.

cool stuff, i was already using this custom for a verry long time
it creates a service to add items
so that service i call with IFTTT, to add items trough google assistant :slight_smile:

would be nice to have this native in HA, but i think we still need IFTTT to pass arguments

Looks like I fixed the problem with bouncing. The problem was the naming of the sensors. Please note that when you update from github now, you need to manually specify name for each sensor.
Hope everything else works now. :slight_smile:

1 Like

Iā€™ll check it out when I get home from work in an hour or so

I just have found your integration, it is funny that we have created our versions simultaneously :slight_smile:

is it possible to create a service wth gpeepapi, so we can something to the keepnotes from within HA?
and also use with google assistant? :slight_smile:

hi,
i am getting the following error:
create-card-element.ts:76 keep-notes-card Error: Please define entity
when define klejejs/ha_keep_notes_sensor

result = method(*args, **kwargs)
from the log:
File ā€œ/home/homeassistant/.homeassistant/custom_components/keep_notes_sensor/sensor.pyā€, line 79, in update
glist_items = gnote.items
AttributeError: ā€˜Noteā€™ object has no attribute ā€˜itemsā€™

How can anyone know without seeing your code?

Please provide the yaml code you used for both sensor and card.

configuration file:

  • platform: keep_notes_sensor
    name: keep_sensor
    username: ā€˜[email protected]ā€™
    password: ā€˜PASSā€™
    list_id: ā€˜IDā€™

UI-lovelace file:
- entities:
- entity: sensor.keep_notes_sensor
type: ā€œcustom:keep-notes-cardā€
ā€¦

resources:

  • url: /local/card-tools.js?track=true
    type: js
  • url: /local/keep-notes-card.js
    type: js

Hi, Thank you for this integration.

Would it be possible to have a filter on the Lovelace card to show only unchecked items?

Thanks

As entity in lovelace config you should use sensor.keep_sensor as the name you defined is keep sensor, not keep_notes_sensor.