This commit is contained in:
Proddy
2023-10-30 13:01:43 +01:00
parent e3a644182e
commit b9e57414ce

View File

@@ -338,7 +338,7 @@ uint8_t Command::call(const uint8_t device_type, const char * cmd, const char *
snprintf(info_s, sizeof(info_s), "'%s/%s'", dname, cmd);
}
if ((value == nullptr) || (strlen(value) == 0)) {
LOG_INFO(("%sCalling command %s"), ro.c_str(), info_s);
LOG_DEBUG(("%sCalling command %s"), ro.c_str(), info_s);
} else {
if (id > 0) {
LOG_INFO(("%sCalling command %s with value %s and id %d on device 0x%02X"), ro.c_str(), info_s, value, id, device_id);