Skip to content

Verbraucher: Laufzeit-Zähler bei Betriebspause pausieren - #4065

Merged
LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:consumer_dev
Oct 7, 2026
Merged

LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:consumer_dev

Conversation

@LKuemmel

@LKuemmel LKuemmel commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

references #3908 (comment)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved blocking issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Pauses consumer runtime tracking during charging interruptions so paused time is excluded from scheduled duration.

Changes:

  • Resets runtime timing when charging stops.
  • Adds regression coverage for pause and resume behavior.
File Description
packages/​control/​consumer/​consumer.py Resets runtime timing during pauses.
packages/​control/​consumer/​consumer_test.py Tests paused runtime accounting.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LKuemmel
LKuemmel merged commit a331d8c into openWB:master Oct 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants