Delay_on delay_off in template sensors created from UI

How to specify delay_on delay_off auto_off on binary template sensors created from the UI?

Currently advanced features like delay_on, triggers, and auto_off are not supported for template entities created in the Template helper. If you want to use those features you need to set up your sensor using YAML configuration.