Nicely done! How did you change the “due in” part to hours?
I’ve come so far that i think it’s in this section :
state_display: |
[[[
var last_completed = new Date(entity.attributes.last_completed);
var due = new Date(last_completed.valueOf() + entity.attributes.frequency_ms);
return `
by ${due.toLocaleDateString("en-US", {weekday: 'short', day:'numeric'})}
`;
]]]
Cheers!