Browse Source

thermostat: show force off in zones when holiday mode is on

master
Richard Genoud 4 years ago
parent
commit
7932a70b1b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      soft/thermostat/src/zoneitem.cpp

+ 4
- 0
soft/thermostat/src/zoneitem.cpp View File

@ -80,6 +80,10 @@ void ZoneItem::refresh(void)
break;
}
if (s->m_end_holiday > QDateTime::currentDateTime()) {
m_target_temperature = FORCE_OFF;
}
/* Zone name */
text += QString("<center><b>") + m_name + QString("</b></center>");


Loading…
Cancel
Save