WTH i can’t change Time of the Day sensor’s times

WTH i can’t set a time of the day sensor and set it to DND start and end times of my vacuum using templates

… or define with templates ( sunrise / sunset for example)