Tracking days

Hi there, little lost for words but what I’m trying to achieve is a way to track how long one of my mums pets passed away. So I have used anniversarys integration and it works upto a year. It then restarts over which isn’t helpful.

If possible it needs to track days, months and years. Also needs to be incredibly easy to add so i can add it to a dashboard too. (I have a few to do :disappointed: so my mum can view it when she does

If you need the flexibility of entities, you can use Template sensors. If you set up Relative-Time Plus macros it will make it relatively easy to do a bunch and add more whenever needed.

template:
  - sensor:
      - name: Fluffy
        state:  |
          {% set date = "2020-01-01" %}
          {% from 'relative_time_plus.jinja' import relative_time_plus %}
          {{ relative_time_plus(date, parts=3, time=false, week=false) }}
        
      - name: Chubbs
        state: |
          {% set date = "1999-03-23" %}
          {% from 'relative_time_plus.jinja' import relative_time_plus %}
          {{ relative_time_plus(date, parts=3, time=false, week=false) }} 

For a more basic approach you could bypass the sensors and just use a Markdown card:

content: |
  {%- from 'relative_time_plus.jinja' import relative_time_plus %}

  {%- set pet_date = {
  "Fluffy": "2020-01-01",
  "Chubbs": "1999-03-23"
  } %}

  {%- for pet in pet_date %}
  ### {{ pet }}:
  {{ relative_time_plus(pet_date[pet], parts=3, time=false,
  week=false)}}<br>
  {% endfor %}
title: Pets