This is my first attempt at making a fully custom dashboard. I want to create a dashboard for tasks and chores that I've created using Grocy.
Been trying to leverage Claude to help since m Google-foo has let me down for guidance. This is the yaml claude gave me:
type: custom:button-card
entity: sensor.grocy_chores
name: Chores Dashboard
styles:
card:
- padding: 16px
state:
- operator: template
value: >
[[[
let chores = entity.attributes.chores;
let html = '';
chores.forEach(chore => {
html += `${chore.name} - Assigned to: ${chore.next_execution_assigned_user.display_name}<br>`;
html += `Due: ${chore.next_estimated_execution_time}<br><br>`;
});
return html;
]]]
styles:
card:
- background: white
Very new to both HA and Grocy so I'm confused on how to troubleshoot/set this up.