1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00
Jon Ziebell 6d7b4ff3f5 Metrics
There's no description for a commit with changes to 65 files.
2021-01-27 20:49:27 -05:00

23 lines
613 B
JavaScript

/**
* Cool setpoint metric.
*
* @param {number} thermostat_id The thermostat.
*/
beestat.component.metric.setpoint.cool = function(thermostat_id) {
this.thermostat_id_ = thermostat_id;
beestat.component.metric.setpoint.apply(this, arguments);
};
beestat.extend(beestat.component.metric.setpoint.cool, beestat.component.metric.setpoint);
beestat.component.metric.setpoint.cool.prototype.child_metric_name_ = 'cool';
/**
* Get the icon of this metric.
*
* @return {string} The icon of this metric.
*/
beestat.component.metric.setpoint.cool.prototype.get_icon_ = function() {
return 'snowflake';
};