mirror of
https://github.com/beestat/app.git
synced 2025-06-23 15:30:43 -04:00
23 lines
714 B
JavaScript
23 lines
714 B
JavaScript
/**
|
|
* Runtime / HDD for Heat Stage 1
|
|
*
|
|
* @param {number} thermostat_id The thermostat ID.
|
|
*/
|
|
beestat.component.metric.runtime_per_degree_day.heat_1 = function(thermostat_id) {
|
|
this.thermostat_id_ = thermostat_id;
|
|
|
|
beestat.component.metric.runtime_per_degree_day.apply(this, arguments);
|
|
};
|
|
beestat.extend(beestat.component.metric.runtime_per_degree_day.heat_1, beestat.component.metric.runtime_per_degree_day);
|
|
|
|
beestat.component.metric.runtime_per_degree_day.heat_1.prototype.child_metric_name_ = 'heat_1';
|
|
|
|
/**
|
|
* Get the icon of this metric.
|
|
*
|
|
* @return {string} The icon of this metric.
|
|
*/
|
|
beestat.component.metric.runtime_per_degree_day.heat_1.prototype.get_icon_ = function() {
|
|
return 'fire';
|
|
};
|