Our Groceries integration and Lovelace card

Thanks yeah that looks ideal, the flow would be great if that’s possible :slightly_smiling_face:
I’ll look through the others nodes and GitHub to work out the language.

1 Like

If i can help any further dont hesitate to ask!

Thank you.
I’m not sure if I can use this though, I can’t work out how to get the language into English :joy:
I’ve even tried opening every file stored in the node red folder like the bring.js file looking where the language is set but I just can’t find it.
Unless I ask my wife to use Google translate when a shopping list comes through ha ha.

Im totally sorry but i dont get it, their website is simply in english so dont know why the app is in german:/ but cant you just write english words?

No worries.
Ive just tried your functions and it did work great and i get the notification but as i said it’s in german.
My bring list is set to english but somewhere in the Node it’s being translated to german as it comes through in german even on the get items node.
I’ll keep looking into it.
Can i ask is the word einkauf meant to come through before each word ? if so is there a way of just having the list items instead.
Thanks

I think i found the solution. Could you try to use the loadTranslation Node and set some english string there instead of de-De?

Yeah i saw that and have been trying it in various posistions but it just brings up a list of generic english items like in the sceenshot.
Unless i’m using it in the wrong position ill try again i’m hoping i guessed it right with en-EN ha ha
Thanks
Untitled
Untitled2

I dont know but you could try en-Gb or en-Us but thats all i can guess

1 Like

What file or where does this configuration go… Assuming this is the last piece to define a card in lovelace, but im not familiar yet with custom lovelace cards.

type: 'custom:our-groceries-card'
title: Our Shopping
show_header: true
entity: sensor.our_groceries
show_crossed_off: true
sort_by_name: true
hide_empty_lists: false
show_lists:
  - costco

I thought maybe this would be placed under manual input when adding a card, but i get an intermittent error that “Custom Element doesnt exist: our-groceries-card”… Rebooting helps, but the card is still empty (# Items) despite having a few items on the list.

image

*Edit… I was able to finally get this working after changing the named list to the unique ID found under sensor.our_groceries… e.g.: Costco —> 6eg0xu9AU5pRZaiVH793ex

How did you get past the first error you had? I am at the first error you got…
Custom Element doesnt exist: our-groceries-card”
…and I can not get past that. I have restarted a couple of times.
I cannot find out how to remove the our groceries card and reinstall it though.

Hi, this is really handy. It’s there any way to get the suggestions and categories from our groceries?

i.e if you start typing something you have included previously it will suggest the item? And the categories such as pantry, daur6 etc?

Cheers