Unlike a "dumb" plastic fuse, a smart relay has a board,
microprocessor, power supply and Wi-Fi antenna inside. All of these
generate heat.
If you put 4 smart relays next to each other, in a closed panel
without ventilation, in August, the temperature inside them will
exceed 70°C-80°C. Quality relays (like Shelly's) have an internal
temperature sensor and Over-temperature Protection function. If they
get too hot, they'll just "drop" the power themselves (so
they don't catch fire) and the house will be without power!
The Solution: We let the equipment "breathe". Good practice
dictates that we leave a gap of half a cell (9mm spacer) between every
two smart relays. We also place them at the lowest point of the panel,
as heat always travels upwards.