1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixed #256 - Heat/cool setpoints mixed up

This commit is contained in:
Jon Ziebell 2020-02-25 14:14:48 -05:00
parent 1f3ac41fe1
commit f04d0835c5

View File

@ -230,7 +230,7 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range) {
runtime_thermostat.setpoint_cool
);
data.series.setpoint_cool.push(setpoint_cool);
data.metadata.series.setpoint_heat.data[current_m.valueOf()] = setpoint_cool;
data.metadata.series.setpoint_cool.data[current_m.valueOf()] = setpoint_cool;
data.metadata.series.setpoint_cool.active = true;