You created a Trigger-based Template Sensor. It won’t report a nominal value until it’s triggered at least once. In your example, until the state value of weather.forecast_home changes. What you did to the weather entity caused its value to change (and that served to trigger your newly created sensor).
It’s fairly common for novices to create a Trigger-based Template Sensor and then remark that, after reloading Template entities, the new sensor doesn’t immediately report a nominal value. As explained, it won’t until it’s triggered by one of its triggers.
It’s for this reason that the following Event Trigger is often added:
It triggers whenever Template entities are reloaded. As a result, it causes the new Trigger-based Template Sensor to immediately evaluate its templates and report a value.
Anyway, at this point, there’s no need to add the Event Trigger given that your Trigger-based Template Sensor has already triggered at least once. (The only reason to include it now would be if you want to update the sensor slightly more frequently than just whenever the weather entity’s state changes.)
Both the template and automation you have provided are incomplete, please post the full template and automation. It is unclear how you plan to use the variables you have set.
For the time of today’s max temperature you can use: