Well you can use all the time templating tools in a template trigger.
https://www.home-assistant.io/docs/automation/trigger/#template-trigger
https://www.home-assistant.io/docs/configuration/templating/#time
Or did you mean something like this?
https://community.home-assistant.io/t/scheduler-card-custom-component/217458