We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35d36fb commit d2b2694Copy full SHA for d2b2694
com.androidthermostat.server/src/com/androidthermostat/server/data/Conditions.java
@@ -124,7 +124,7 @@ public void updateWeather()
124
if (resp.main.temp>0)
125
{
126
success = true;
127
- double celcius = resp.main.temp - 272.15;
+ double celcius = resp.main.temp - 273.15;
128
this.outsideTemperature = Math.round(celcius * 9.0 / 5.0 + 32);
129
this.weatherForecastUrl = Settings.getCurrent().getForecastUrl().replace("[postalCode]", String.valueOf(Settings.getCurrent().getLocation()) );
130
0 commit comments