Skip to content

Conversation

@LKuemmel
Copy link
Contributor

@LKuemmel LKuemmel commented Feb 4, 2025

No description provided.

@LKuemmel LKuemmel added this to the 2.1.8 milestone Feb 4, 2025
@LKuemmel LKuemmel force-pushed the fix branch 2 times, most recently from 4f38055 to accdc68 Compare February 7, 2025 07:48
@LKuemmel LKuemmel modified the milestones: 2.1.8, 2.1.8 Step 1 Mar 11, 2025

def et_price_lower_than_limit(self, max_price: float):
""" prüft, ob der aktuelle Strompreis unter der festgelegten Preisgrenze liegt.
def et_price_lower_or_equal_than_limit(self, max_price: float):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die richtige Bezeichnung wäre et_price_lower_than_or_equal_to_limit.
So ausführliche Namen haben aber auch den Nachteil, dass sie potentiell mal geändert werden müssen, wenn sich die Logik ändert. Genau das war wohl hier mal der Fall (kleiner -> kleiner/gleich). Also vielleicht eine etwas andere Bezeichnung wählen: et_charging_allowed.

@benderl benderl added the enhancement New feature or request label Mar 18, 2025
@benderl benderl merged commit dbc7cf2 into openWB:master Mar 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants