mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
Log the actual value in modbus number (#2901)
This commit is contained in:
parent
cec4a81e14
commit
4e10881331
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void ModbusNumber::control(float value) {
|
||||||
|
|
||||||
ESP_LOGD(TAG,
|
ESP_LOGD(TAG,
|
||||||
"Updating register: connected Sensor=%s start address=0x%X register count=%d new value=%.02f (val=%.02f)",
|
"Updating register: connected Sensor=%s start address=0x%X register count=%d new value=%.02f (val=%.02f)",
|
||||||
this->get_name().c_str(), this->start_address, this->register_count, write_value, write_value);
|
this->get_name().c_str(), this->start_address, this->register_count, value, write_value);
|
||||||
|
|
||||||
// Create and send the write command
|
// Create and send the write command
|
||||||
ModbusCommandItem write_cmd;
|
ModbusCommandItem write_cmd;
|
||||||
|
|
Loading…
Reference in a new issue