How can I remove last written value in a input_text

Hi all,

I have this script to write a value to a input_text

service: input_text.set_value
metadata: {}
data:
  value: "{{ states('input_text.persoon1_radiostations') ~ ',' ~ option }}"
target:
  entity_id: input_text.persoon1_radiostations

How can I remove that written value again ?

You just write a blank string:

service: input_text.set_value
metadata: {}
data:
  value: ""
target:
  entity_id: input_text.persoon1_radiostations