Wine serving rules and traditions were developed centuries ago, before air conditioning and central heating was part of our daily lives. This implies that serving wine at room temperature is probably the Western European room temperature of centuries ago.
The rooms in those were cold which means that serving wine at 17°C -20 °C is probably the right temperature for red wines. I suggest that on warm days you can put red wine in the fridge for while just to bring temperature down a bit.
White wine has more personal temperature preferences. Some people say that adding ice to white wine is an absolute no-no while others say an ice cold glass of white wine is the perfect drink. My opinion is go for what works for you , just as long as you enjoy your glass of wine.