Andreas T. Meyer-Berg 3 лет назад
Родитель
Сommit
d938f8f162

+ 1 - 1
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/core/devices/SmartTemperatureProducer.java

@@ -43,7 +43,7 @@ public class SmartTemperatureProducer extends FloatSensorDevice implements Senso
 		 * Change temperature in 1 hour to target temperature 
 		 */
 		tempChangePerHour = trueTemperature-roomStatus.getTemperature();
-		roomStatus.setTemperature(roomStatus.getTemperature()+tempChangePerHour);
+		roomStatus.setTemperature(roomStatus.getTemperature());
 	}
 
 	@Override