#Creating a functional element from a JSON Array

1 messages · Page 1 of 1 (latest)

round pike
#

I have an API resulting in this data from donetick, this is an attribute on a sensor I've managed to get from NodeRed for context.
I've attached a screenshot of a sort of UI I would like to make but I don't know or if that is even possible ```

  • id: 17
    name: Put away clothes
    due: '2026-01-18T19:00:00Z'
    assignee: User1
  • id: 15
    name: Vaccuum downstairs
    due: '2026-02-12T16:00:00Z'
    assignee: User2

A perfect scenario would be that I can make a list of cards like the one in my screenshot, each containing the assignee and task and then some buttons I can use to interact with the REST api where I got the data (donetick)
Does anyone know how (and if) I can do this?
#

for reference, the example is in my dashboard from bubble-card (HACS addon), the size of the array is not always the same either

lapis raft
#

I looked over your question and thought to myself that it might be rather difficult to accomplish what you want (but probably not impossible). So, I went looking for other options. I looked at DoneTick's website (a task & chore manager app). Noticed they have a github page. Curious, I googled donetick home assistant and found a forum thread mentioning a donetick addon/app. It looks like it is still a work-in-progress but it might be a better place to start and, in the thread, there's other users using/interested in donetick.

round pike