mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 10:08:27 +02:00
Add Integral Reset Action to PIDClimate (#1104)
This commit is contained in:
committed by
GitHub
parent
7a16f846eb
commit
33212d1abf
@@ -40,6 +40,8 @@ struct PIDController {
|
||||
return proportional_term + integral_term + derivative_term;
|
||||
}
|
||||
|
||||
void reset_accumulated_integral() { accumulated_integral_ = 0; }
|
||||
|
||||
/// Proportional gain K_p.
|
||||
float kp = 0;
|
||||
/// Integral gain K_i.
|
||||
|
||||
Reference in New Issue
Block a user