Template ... is this possible?

   {% if states.calendar.helligdage_i_danmark.attributes.**message.TEXT OF EVENT** %}
            {{((as_timestamp(states.calendar.helligdage_i_danmark.attributes.start_time) - as_timestamp(now())) / 60) | default(99) | int }}
          {%- else -%}
            0
          {%- endif %}