Skip to content

Commit

Permalink
Merge pull request #24 from MageDelfador/patch1
Browse files Browse the repository at this point in the history
fix setpoint 0 not working #17
  • Loading branch information
soloam authored Oct 17, 2022
2 parents 2a37512 + cf887ec commit e16b15e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/pid_controller/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,6 @@ def _update_sensor(self, entity=None) -> None:
if not self.enabled:
return

if self.set_point == 0:
self._sensor_state = 0
return

source = self.source
set_point = self.set_point

Expand Down

0 comments on commit e16b15e

Please sign in to comment.