mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #252 - Comfort profile says "away" instead of "Away"
This commit is contained in:
parent
78fc04c836
commit
4819d1f600
@ -277,7 +277,9 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range) {
|
||||
case 'sleep':
|
||||
case 'away':
|
||||
this_calendar_event = 'calendar_event_' + runtime_thermostat.climate.toLowerCase();
|
||||
this_calendar_event_name = runtime_thermostat.climate;
|
||||
this_calendar_event_name =
|
||||
runtime_thermostat.climate.charAt(0).toUpperCase() +
|
||||
runtime_thermostat.climate.slice(1);
|
||||
break;
|
||||
default:
|
||||
this_calendar_event = 'calendar_event_custom';
|
||||
|
Loading…
x
Reference in New Issue
Block a user