Water temp 200 shown as 80 hack.
This commit is contained in:
@@ -5,10 +5,11 @@ namespace esphome {
|
||||
namespace truma_inetbox {
|
||||
|
||||
static const char *const TAG = "truma_inetbox.water_climate";
|
||||
|
||||
void TrumaWaterClimate::setup() {
|
||||
this->parent_->get_heater()->add_on_message_callback([this](const StatusFrameHeater *status_heater) {
|
||||
// Publish updated state
|
||||
this->target_temperature = temp_code_to_decimal(status_heater->target_temp_water);
|
||||
this->target_temperature = water_temp_200_fix(temp_code_to_decimal(status_heater->target_temp_water));
|
||||
this->current_temperature = temp_code_to_decimal(status_heater->current_temp_water);
|
||||
this->mode = (status_heater->target_temp_water == TargetTemp::TARGET_TEMP_OFF) ? climate::CLIMATE_MODE_OFF
|
||||
: climate::CLIMATE_MODE_HEAT;
|
||||
|
||||
Reference in New Issue
Block a user