Binary sensor now work as my aspect

hi…
i try to config a template binary sensor like this :

- platform: template
  sensors:
    start_up:
      friendly_name: "Start Time"
      value_template: "{{ now().strftime('%H:%M') == states.input_select.start_time.state }}"
    end_down:
      friendly_name: "End Time"
      value_template: "{{ now().strftime('%H:%M') == states.input_select.end_time.state }}"

in template editor i get False , but when its True the sensor not update and keep be ‘off’

thanks.

Templates get only processed when they include an entity that changes the state.
You need to replace now().strftime(’%H:%M’) with an entity state.
You can use the Time & Date Sensor.