Timestamp in different timezone

I have a sensor that gets an event’s timestamp from a rest API.

The time arrives as: 2024-10-05T17:42:47.905
and this time I believe is UTC -7

I must display it in my timezone UTC +2 (now that it is summer).

How can I modify my template sensor to take in consideration the timezone (also DST)?

 {{ as_timestamp(state_attr('sensor.timeevent','last')) | timestamp_custom('%D - %H:%M%') }}