Skip to content

Commit

Permalink
Update thermostat.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Feb 11, 2024
1 parent 4f7dea6 commit 4bdcac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/thermostat.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ public function windowOpen($_window) {
}

public function reschedule($_next = null, $_stop = false, $_smartThermostat = false) {
log::add(__CLASS__, 'debug', $thermostat->getHumanName() . ' Reschedule, next : '.$_next.', stop : '.$_stop.', smartThermostat : '.$_smartThermostat);
log::add(__CLASS__, 'debug', $this->getHumanName() . ' Reschedule, next : '.$_next.', stop : '.$_stop.', smartThermostat : '.$_smartThermostat);
$options = array('thermostat_id' => intval($this->getId()));
if ($_stop) {
$options['stop'] = intval(1);
Expand Down

0 comments on commit 4bdcac2

Please sign in to comment.