soloam / ha-pid-controller

PID Controller to Home Assistant
MIT License
97 stars 12 forks source link

Anti-windup config setting should be float, not int #53

Open rfaelens opened 6 months ago

rfaelens commented 6 months ago

The anti-windup setting in https://github.com/soloam/ha-pid-controller/blob/master/custom_components/pid_controller/sensor.py#L406 is currently cast to int().

This is not required, as it is directly sent to PIDController, where this is used as a float().