Duration selector not working

Is there something wrong with my code, or did the duration selector (Selectors - Home Assistant) stop working?

There is an open issue for this problem. The Services tool seems to be the only place that is affected… the selector appears correctly in the script and automation editors.