/// A timestamped reading with the setpoint active when it was received. class TemperatureSample { final DateTime timestamp; final double boiler; final double target; final double? sensor2; const TemperatureSample({ required this.timestamp, required this.boiler, required this.target, this.sensor2, }); }