I have a mealie instance that I’m trying to pull the shopping list items from into a rest sensor via template. My ultimate end goal is to get this data into a to-do list with an automation so I can sync the to-do list with Google Keep. I’m not sure you can do a template to-do object so I’m starting with a sensor. I’m getting hung up on a few things and I can’t seem to get past how to get the items into an array inside of the attributes list of the sensor.
If you want to make a todo list from these items, you can do that. Otherwise you can make a select entity that has a dropdwon of all the items. Or just a sensor with an attribute that has all the items.
Thank you for the help. The examples worked great. The last thing that is throwing me for a loop is deduping the data that is going to go into the todo list. For some reason it’s still being added into the todo list each time. I’m trying to compare between two lists and it’s not working. Not sure what I’m doing wrong here as I’ve not done comparison between a list and a todo list. There really isn’t many examples out there either.