Grocy - Custom component and card(s)

It was not the port in the end. It was a strange issue, where the SSL would turn itself on. I would turn it off, hit save, but the switch would jump back to on again. It even did it once, when I switch to code view… I typed false, and the word changed back to true. But on the 2nd try it stayed as false…

Anyway, my issue was that it wanted https because of the above SSL glitch. But once I got it locked to SSL:false then my URL, port and Key was accepted and the component installed successfully.

Is Grocy custom component dead? I see no development in guthub any more.

Hi folks!

I wanna get notification when something is missing from my stock.
I made this for notification

{{  state_attr('binary_sensor.grocy_missing_products', 'missing_products')[0].name }}

The problem is the number [0]. When i have more then 1 item missing this automation do not notify me the second missing stuff, but when i make this

{{  state_attr('binary_sensor.grocy_missing_products', 'missing_products')[0].name }}, {{  state_attr('binary_sensor.grocy_missing_products', 'missing_products')[1].name }}

i get no notification when only 1 item missing.
So somehow i have to make a dynamic list of the ‘name’ attribute but can not find out how.
Any suggestion can be a great help.

Hello!

How can i hide the unwanted text from the attribute of the binary overdue products sensor? Can’t figure it out…


type: entity
entity: binary_sensor.grocy_overdue_products
attribute: overdue_products
state_color: true

Thanks in advance!

I have this line for expiring products for today.

{{ state_attr(‘binary_sensor.grocy_expiring_products’,‘expiring_products’)
|selectattr(‘best_before_date’, ‘eq’, now().date() | string )
|map(attribute=‘name’)
|list }}