Add attributes to input.number with value every hour

Hello i have this input.number

and I need add attribute_tem­plates with same value for every hour today and tomorrow like this another sensor

How can I do it?