Fix Bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user