Using templates for Times of the Day

It would be great if we could use templates (like for example the state of an input datetime helper) to configure the start and end times of the times of the day integration. That way we can change the times from the UI instead of yaml, making it much more dynamic.