I have the following template sensor, but it doesn’t seem to update unless home assistant is restarted. I’ve tested this in the developer/templates area and it updates fine. But not the sensor.
A template sensor will only update when one of the referenced entities changes (which would be calendar.hass_calendar_fgo in your case.) It does not update simply because time has gone by. If you want it to update when time changes, then you need to use an entity that changes with time in your template, like the Time & Date sensor.