GOT working
log to hard to read. did something thinking
{
"icon" : "mdi:calendar-star" ,
"unit_of_measurement" : "days" ,
"friendly_name" : "{}'s {}".format(name, type) ,
"nextoccur" : "{}/{}/{}".format(nextOccur.day,nextOccur.month,nextOccur.year) ,
"years" : years
}
had to use the .format()
hay you guys who like the month first just change the format
"nextoccur" : "{}/{}/{}".format(nextOccur.month,nextOccur.day,nextOccur.year) ,
now I can
entities:
- entity: sensor.anniversary_our_wedding
secondary_info: ' [[ {entity}.attributes.nextoccur ]] ( [[ {entity}.attributes.years ]] Years )'
type: 'custom:secondaryinfo-entity-row'
show_header_toggle: false
title: Our Events
type: entities