mirror of
https://github.com/beestat/app.git
synced 2025-05-23 18:04:14 -04:00
Added Door/Window Open comfort profile
This commit is contained in:
parent
5530a4536b
commit
bf0e9a8272
@ -37,6 +37,7 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range, key) {
|
||||
'calendar_event_hold': 3,
|
||||
'calendar_event_vacation': 3,
|
||||
'calendar_event_quicksave': 3,
|
||||
'calendar_event_door_window_open': 3,
|
||||
'calendar_event_other': 3,
|
||||
'calendar_event_custom': 3,
|
||||
'compressor_heat_1': 16,
|
||||
@ -63,6 +64,7 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range, key) {
|
||||
'calendar_event_hold',
|
||||
'calendar_event_vacation',
|
||||
'calendar_event_quicksave',
|
||||
'calendar_event_door_window_open',
|
||||
'calendar_event_other',
|
||||
'calendar_event_custom',
|
||||
'outdoor_temperature',
|
||||
@ -338,6 +340,9 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range, key) {
|
||||
} else if (runtime_thermostat.event.match(/^quicksave$/i) !== null) {
|
||||
this_calendar_event = 'calendar_event_quicksave';
|
||||
this_calendar_event_name = 'Quick Save';
|
||||
} else if (runtime_thermostat.event.match(/^dwOpen$/i) !== null) {
|
||||
this_calendar_event = 'calendar_event_door_window_open';
|
||||
this_calendar_event_name = 'Door/Window Open';
|
||||
} else {
|
||||
this_calendar_event = 'calendar_event_other';
|
||||
this_calendar_event_name = 'Other';
|
||||
@ -353,6 +358,7 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range, key) {
|
||||
'calendar_event_hold',
|
||||
'calendar_event_vacation',
|
||||
'calendar_event_quicksave',
|
||||
'calendar_event_door_window_open',
|
||||
'calendar_event_other',
|
||||
'calendar_event_custom'
|
||||
].forEach(function(calendar_event) {
|
||||
|
@ -288,6 +288,11 @@ beestat.series.calendar_event_quicksave = {
|
||||
'color': beestat.style.color.gray.base
|
||||
};
|
||||
|
||||
beestat.series.calendar_event_door_window_open = {
|
||||
'name': 'Door/Window Open',
|
||||
'color': beestat.style.color.bluegreen.light
|
||||
};
|
||||
|
||||
beestat.series.calendar_event_other = {
|
||||
'name': 'Other',
|
||||
'color': beestat.style.color.gray.base
|
||||
|
@ -181,6 +181,7 @@ beestat.component.chart.runtime_sensor_detail_temperature.prototype.get_options_
|
||||
'calendar_event_hold',
|
||||
'calendar_event_vacation',
|
||||
'calendar_event_quicksave',
|
||||
'calendar_event_door_window_open',
|
||||
'calendar_event_other',
|
||||
'calendar_event_custom'
|
||||
].forEach(function(series_code) {
|
||||
|
@ -40,6 +40,7 @@ beestat.component.chart.runtime_thermostat_detail_equipment.prototype.get_option
|
||||
'calendar_event_hold',
|
||||
'calendar_event_vacation',
|
||||
'calendar_event_quicksave',
|
||||
'calendar_event_door_window_open',
|
||||
'calendar_event_other',
|
||||
'calendar_event_custom',
|
||||
'compressor_heat_1',
|
||||
|
@ -231,6 +231,7 @@ beestat.component.chart.runtime_thermostat_detail_temperature.prototype.get_opti
|
||||
'calendar_event_hold',
|
||||
'calendar_event_vacation',
|
||||
'calendar_event_quicksave',
|
||||
'calendar_event_door_window_open',
|
||||
'calendar_event_other',
|
||||
'calendar_event_custom'
|
||||
].forEach(function(series_code) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user