Skip to content

Commit

Permalink
Merge pull request #2821 from okaegi/smart601
Browse files Browse the repository at this point in the history
acthor installierte Leistung > maximal Leistung
  • Loading branch information
LKuemmel authored Feb 20, 2024
2 parents 664dae6 + 8631624 commit 5f8e099
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/modules/smarthome/acthor/watt.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
neupowertarget = int((uberschuss + aktpower) * faktor)
if neupowertarget < 0:
neupowertarget = 0
if instpower > cap:
cap = instpower
if neupowertarget > int(cap * faktor):
neupowertarget = int(cap * faktor)
# status nach handbuch Thor
Expand Down

0 comments on commit 5f8e099

Please sign in to comment.