Definition of default values in special cases

Trying to deal with upcoming change for template default values I have some problems… no matter what I change and do, I still get the warnings in my log. So, how should I define default values for the following four template cases:

{{strptime(states('sensor.wupw1s_obstimelocal'), '%Y-%m-%d %H:%M:%S').strftime('%-H:%M on %-d.%-m.%Y')}}

{{ as_timestamp(state_attr('sun.sun', 'next_rising')) | timestamp_custom('%-d.%-m.%Y') }}

{{ (((((float(states('sensor.vlaznost_balkon'))-9)/100)**0.125)*(112+(0.9*float(states('sensor.temperatura_balkon'))))+(0.1*float(states('sensor.temperatura_balkon')))-112)*1.8+32) | round(1) }}

{%if as_timestamp(now()) - (as_timestamp(strptime(states.sensor.datum_dnevna.state, "%d.%m.%Y").strftime("%Y-%m-%d ") + states('sensor.cas_dnevna'))) | float > 240 %}tomato{%else%}var(--splosnoozadje){%endif%}

and also for the simple one, which also gives an error:

{{ (states('sensor.temperatura_aqara_avg')) | round(1) }}

Thx in advance for your input.