I have had a Shelly 2.5 installed, Home Assistant shows its internal temperature as 55 to 60 degrees with no load. With a temperature of around 70 degrees with a load on both relays.
Compared to Shelly 1pm which run at 1/2 the temperature.
What internal temperatures do your Shelly 2.5 show?