It would be useful in some use cases to reset the PID controller and force the output to a certain state.
My use case would be when HA switches my A/C from cooling to heat and reverse.
Some options would be:
a) A custom HA Action. Could take the wanted output as an optional parameter or just use the existing PID Start Mode mechanism.
b) A button entity that resets the controller. Output is set according to PID Start Mode mechanism.
On the implementation side the code would have to just set simple-pid auto-mode to off and then on again.
It would be useful in some use cases to reset the PID controller and force the output to a certain state.
My use case would be when HA switches my A/C from cooling to heat and reverse.
Some options would be:
a) A custom HA Action. Could take the wanted output as an optional parameter or just use the existing PID Start Mode mechanism.
b) A button entity that resets the controller. Output is set according to PID Start Mode mechanism.
On the implementation side the code would have to just set simple-pid auto-mode to off and then on again.