Having problems with latest jinja

Many of my scripts and automations are broken with the latest HA update that includes a jinja update.

I used to be able to do things as follows (given there’s a variable named heat)

  variables:
     other: "{{ heat['fan on'] | float(0) + ... }}"

But with recent changes these fail when there is no value looked up.

The solutions is to capture the lookup into a variable, then perform the arithmetic.

   variables:
       temp: "{{ heat['fan on'] }}"
       other: "{{ temp | float(0) + ... }"

Something is really wrong here as this doesn’t make sense. And I have to rewrite many scripts/automations with this unexpected and illogical change.

This doesn’t make sense to me.

Can you show the code that sets the heat variable?

And also what the ... is?