Fixed temperature call

The temperature from yesterday is now the temperature from 24 hours ago
instead of the average temperature of the previous day.