add temperature_step to logger

This commit is contained in:
Andy Thomas
2024-01-17 20:04:30 +01:00
parent e1b7c4242d
commit 9c3b301aa0

View File

@@ -96,6 +96,9 @@ script:
} else if (key == "target_temp_low") {
ESP_LOGD(TAG, "set_target_temperature_low(%f)", (stof(value) / 10));
call.set_target_temperature_low(stof(value) / 10);
} else if (key == "temperature_step") {
ESP_LOGD(TAG, "set_temperature_step(%f)", (stof(value) / 10));
call.set_temperature_step(stof(value) / 10);
} else if (key == "hvac_mode") {
ESP_LOGD(TAG, "hvac_mode(%s)", value.c_str());
call.set_mode(value);