Trying to add minutes and display the result in a dashboard

I am trying to add to my EV page and have it display the estimated time when the charge will be complete.

I have the time of the last update, and minutes until complete. I would like to add the times together and display the result as DATE HH:MM.

The idea is to add [sensor.2026_ioniq_9_last_updated_at] to [sensor.2026_ioniq_9_estimated_charge_duration] /1440 and show the formatted date as the result in a card.

Any direction I should look at?

Something like:

{{as_local(as_datetime( as_timestamp(states('sensor.2026_ioniq_9_last_updated_at')) + states('sensor.2026_ioniq_9_estimated_charge_duration') * 60)) }}

Of course I don't have your sensors so not tested. Have a fiddle in Developer Tools | Template Editor

Also - once you get the desired time correct in the template editor, you will probably want to format it - use .strftime()for that:

{{ (as_local(as_datetime( as_timestamp(states('sensor.2026_ioniq_9_last_updated_at')) + states('sensor.2026_ioniq_9_estimated_charge_duration') * 60))).strftime('%-I:%m %p') }}

I got it figured. Python is weird, but I guess that's what you get with a safety net.

Time complete is {{as_datetime((states('sensor.2026_ioniq_9_last_updated_at'))) + timedelta(minutes = int(states('sensor.2026_ioniq_9_estimated_charge_duration')))}}

returns a proper timestamp.

Now to figure out how to display it on a card.

- sensor:  
    - name: I9ChargeComplete
      state: '{{ as_local(as_datetime((states(''sensor.2026_ioniq_9_last_updated_at''))) + timedelta(minutes = int(states(''sensor.2026_ioniq_9_estimated_charge_duration'')))).strftime(''%m/%d %H:%m'')}}'

This worked! Thank you.