Skip to content

Commit

Permalink
acthor manuell steueren... (#1945)
Browse files Browse the repository at this point in the history
update nach Test.....
  • Loading branch information
okaegi authored Oct 11, 2024
1 parent bce129e commit ab34dd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/smarthome/smartbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,8 @@ def getueb(self) -> None:
self.devuberschuss = self._uberschuss
else:
# eigene Leistung abziehen um endlosregelung zu vermeiden
# negativen ünberschuss zulassen um Regelung in beide richtigungen ermöglichen
self.devuberschuss = self.device_manual_ueb - self._oldwatt
if (self.devuberschuss < 0):
self.devuberschuss = 0

def preturn(self, zustand: int, ueberschussberechnung: int, updatecnt: int) -> None:
self.ueberschussberechnung = ueberschussberechnung
Expand Down

0 comments on commit ab34dd0

Please sign in to comment.