Control on input datetime

Hello
Sorry for my poor engllish and my little level in HA

My idea is to input a date and when the date is arrived it change the state on a device

I created a card:

type: entities
entities:
  - entity: input_boolean.absent_present
  - entity: input_datetime.date_retour
title: Présence au studio
state_color: true

I create this automation but i don’t know how to have the “information” that whe are the D Day and it must change the input bolean device

alias: Nouvelle automatisation
description: ""
trigger:
  - platform: time
    at: input_datetime.date_retour
?????????
?????????.......
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.absent_present
    data: {}

Thank’s for your help

That you are… what??

sorry, in french Jour J
In english perhaps D Day… lol

For example, i leave my house today. I return the 12/01/2022.
I “input” this date in

input_datetime.date_retour

and automatically at this date the input bolean change his state from off to on

It’s simply


alias: Nouvelle automatisation
description: ""
trigger:
  - platform: time
    at: input_datetime.date_retour
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.absent_present


that is the same code than me.
And for me it doesen’t work.
If i input the date of today, nothing happend’s
I input the date of tomorrow and i wait until tomorow…
I say you if it’s ok