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

Removed a reference to ecobee_thermostat that was no longer needed

This commit is contained in:
Jon Ziebell 2021-02-02 22:27:39 -05:00
parent a16edcf1dc
commit 71dad59537

View File

@ -154,9 +154,6 @@ beestat.layer.load.prototype.decorate_ = function(parent) {
var thermostat = beestat.cache.thermostat[ var thermostat = beestat.cache.thermostat[
beestat.setting('thermostat_id') beestat.setting('thermostat_id')
]; ];
var ecobee_thermostat = beestat.cache.ecobee_thermostat[
thermostat.ecobee_thermostat_id
];
// Set the document title to include the thermostat name // Set the document title to include the thermostat name
if (thermostat.name !== null && thermostat.name.trim() !== '') { if (thermostat.name !== null && thermostat.name.trim() !== '') {
@ -177,15 +174,11 @@ beestat.layer.load.prototype.decorate_ = function(parent) {
} }
// Fix some other stuff for non-heat-pump. // Fix some other stuff for non-heat-pump.
if (ecobee_thermostat.settings.hasHeatPump === false) { if (beestat.thermostat.get_system_type(thermostat.thermostat_id, 'heat') !== 'compressor') {
beestat.series.auxiliary_heat_1.name = beestat.series.auxiliary_heat_1.name = beestat.series.sum_compressor_heat_1.name;
beestat.series.sum_compressor_heat_1.name; beestat.series.auxiliary_heat_1.color = beestat.series.sum_compressor_heat_1.color;
beestat.series.auxiliary_heat_1.color = beestat.series.sum_auxiliary_heat_2.name = beestat.series.compressor_heat_2.name;
beestat.series.sum_compressor_heat_1.color; beestat.series.sum_auxiliary_heat_2.color = beestat.series.compressor_heat_2.color;
beestat.series.sum_auxiliary_heat_2.name =
beestat.series.compressor_heat_2.name;
beestat.series.sum_auxiliary_heat_2.color =
beestat.series.compressor_heat_2.color;
} }
/* /*