Worked on SensorHistory. Adding temperature points at a constant rate now returns a constant and correct slope.
Use the oldest period between history updates as expected time for the most recent data point.