Improved Shopping List

Hello,
I’ve managed to install the shopping list.
Great job!

1 Like

Hey guys,
Thanks to Home Assistant’s recent updates to the shopping list feature, which now supports multiple to-do lists, I’ve added a couple of to-do lists to my dashboard. I’ll update my original post above in a couple of days.

Hi All.
I really like the above solution. Though I am stuck and need more guidance as i am totally new to this.
I have addded the 2 button templates in a file called templates.yaml. And referred to this in the configuration.yaml file.

Then i take the dashboard code and paste into a blank dashboard. Nothing happen. I have tried to paste it into the shopping list and still nothing.

Can someone guide with a step by step for dummies on how to achieve the above.

Would really appreciate it.
Thanks

@pLeX bro can you give me a step by step walkthrough on how to achieve this ? thanks

Hey men,
what do you exacly asking for?

@pLeX I really like the above solution. Though I am stuck and need more guidance as i am totally new to this.
I have addded the 2 button templates from above in a file called templates.yaml. And referred to this in the configuration.yaml file.

Then i take the dashboard code and paste into a blank dashboard. Nothing happen. I have tried to paste it into the shopping list and still nothing.

Need a a step by step for dummies on how to achieve activating the solution
As i am pretty sure i am missing a few or lot of steps in between :smiley:
Would really appreciate it.

image below is for the template button .yaml file. I believe line number 1 in this is also incrorrect :slight_smile:

@pLeX was it something you could help with bro. I gave the information above. Would appreciate it a lot and make me very happy

you dont have to specify the platform in template.yaml. just remove line 1.
in your configuration.yaml you have specifed:

template: !include template.yaml

this will home assistant indicate that it is for template platform.

I was trying to reverse engineer what I did in the past and cannot give you a step-by-step guide right now, sorry. Its too long ago.

Im wondering in my config about the template. I had specified the shopping card templates to the following file in the config folder: shopping_list-template.yaml

But I dont load them in the configuration.yaml why Im currently struggling how my config is working :smiley:

@pLeX thanks bro. I get your point. It may be hard to get the proper guide then. If not much of a hassle and you are comfortable with that. Can you share your yaml files for :.
1: the template file
2: the full dashboard which has the shopping list implemented
3: any other related yaml files

Then i can use these for getting inspired and understand the implementation and modify them as per my need.

As mentioned i am not even sure where and how to implement the dashboard code for this solution .

I have made some simple one myself for testing but this solution is much more dynamic and better so really would like to have it up and running.let me know if the above is ok with you to share with me :pray:

Define those two Templates in relative YAML will get this error:

Invalid config for 'template' at configuration_templates/configuration_template_lovelace.yaml, line 1: 'shopping_list_card' is an invalid option for 'template', check: shopping_list_card
Invalid config for 'template' at configuration_templates/configuration_template_lovelace.yaml, line 22: 'shopping_list_category_card' is an invalid option for 'template', check: shopping_list_category_card

As written in Official DOCs (HERE):

Note: the shopping list card is no longer available as a card to add from the user interface. Use the to-do list card instead.

@pLeX was it something you could share bro ?