mirror of
https://github.com/beestat/app.git
synced 2026-05-27 09:32:35 -04:00
Mostly migrated from heat_auxiliary to auxiliary_heat naming convention for #331
This commit is contained in:
@@ -42,9 +42,9 @@ beestat.component.card.my_home.prototype.decorate_system_type_ = function(parent
|
||||
'heat'
|
||||
);
|
||||
const heat_stages_string = heat_stages > 1 ? ' (2 Stage)' : '';
|
||||
const heat_auxiliary = beestat.thermostat.get_system_type(
|
||||
const auxiliary_heat = beestat.thermostat.get_system_type(
|
||||
thermostat.thermostat_id,
|
||||
'heat_auxiliary'
|
||||
'auxiliary_heat'
|
||||
);
|
||||
const cool = beestat.thermostat.get_system_type(
|
||||
thermostat.thermostat_id,
|
||||
@@ -68,7 +68,7 @@ beestat.component.card.my_home.prototype.decorate_system_type_ = function(parent
|
||||
.set_background_color(beestat.series.auxiliary_heat_1.color)
|
||||
.set_text_color('#fff')
|
||||
.set_icon('fire')
|
||||
.set_text(heat_auxiliary.charAt(0).toUpperCase() + heat_auxiliary.slice(1)));
|
||||
.set_text(auxiliary_heat.charAt(0).toUpperCase() + auxiliary_heat.slice(1)));
|
||||
button_group.add_button(new beestat.component.button()
|
||||
.set_type('pill')
|
||||
.set_background_color(beestat.series.compressor_cool_1.color)
|
||||
|
||||
@@ -27,7 +27,7 @@ beestat.component.modal.change_system_type.prototype.decorate_contents_ = functi
|
||||
'oil',
|
||||
'none'
|
||||
],
|
||||
'heat_auxiliary': [
|
||||
'auxiliary_heat': [
|
||||
'gas',
|
||||
'electric',
|
||||
'oil',
|
||||
@@ -42,13 +42,13 @@ beestat.component.modal.change_system_type.prototype.decorate_contents_ = functi
|
||||
|
||||
var titles = {
|
||||
'heat': 'Heat',
|
||||
'heat_auxiliary': 'Auxiliary Heat',
|
||||
'auxiliary_heat': 'Auxiliary Heat',
|
||||
'cool': 'Cool'
|
||||
};
|
||||
|
||||
var colors = {
|
||||
'heat': beestat.style.color.orange.base,
|
||||
'heat_auxiliary': beestat.style.color.red.dark,
|
||||
'auxiliary_heat': beestat.style.color.red.dark,
|
||||
'cool': beestat.style.color.blue.light
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user