Help with templates

I have a input datetime in which I store the last vacuum date. Now I want to get a notification two days later that I need to vacuum again. How would that template look like?

Somethings like this seems to work.

        {% set next_time = state_attr("input_datetime.dals_last_vacuum_bedroom","timestamp") | int <= utcnow() | int %}
        {% if next_time %}
          on
        {% else %}
          off
        {% endif %}
trigger:
  - platform: template
    value_template: "{{ now()|as_timestamp > states('input_datetime.last_vacuum')|as_timestamp + (2*86400) }}"
action:
  - service: notify etc