debuggage

This commit is contained in:
DTux committed 2022-06-20 10:34:55 +02:00
1 parent da3f4ab51f
commit 58812c442f
13 files changed
+130 -87

No files matched your search

+1 -1
View File
@@ -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;
}
}