This commit is contained in:
Your Name 2023-02-25 19:06:45 +01:00
parent bfd1cf3b2d
commit 10d8385a30

View File

@ -32,7 +32,7 @@ void TrumaHeaterNumber::control(float value) {
this->parent_->action_heater_water(static_cast<u_int8_t>(value));
break;
case TRUMA_NUMBER_TYPE::ELECTRIC_POWER_LEVEL:
this->parent_->action_heater_water(static_cast<u_int16_t>(value));
this->parent_->action_heater_electric_power_level(static_cast<u_int16_t>(value));
break;
}
}