History Graph Card to show always from 7 AM of every day

Hey all,
I’m trying to set up a History Graph card that shows always from 7AM onwards to the current moment, and reset back to 7AM the next day. Some sort of variable “hours to show” field, such that, if it is 9AM it shows 2 hours, but if it is 7PM it shows 12 hours.

Is there any way to do this?

Thanks!

Your possible option is to place your history-graph card inside custom:config-template-card a specify a templated value for the “hours_to_show” option.