debuggage
This commit is contained in:
@ -121,7 +121,7 @@ class radiateurs extends hook
|
||||
$msg = array("current_heating_setpoint" => (!empty($this->prevTemp[$device->ieeeAddress])?$this->prevTemp[$device->ieeeAddress]:19));
|
||||
logger(INFO, sprintf(_("publishing message: %s to %s"), json_encode($msg), $device->friendlyName), __FILE__ . ":" . __LINE__);
|
||||
$device->payload = $msg;
|
||||
$device->set();
|
||||
$device->set("current_heating_setpoint", AUTO);
|
||||
$device->properties["current_heating_setpoint"]["method"] = AUTO;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user