Skip to content

Comments

Parameterize target_soc in charge/discharge services for Huawei#3407

Merged
springfall2008 merged 1 commit intomainfrom
springfall2008-patch-1
Feb 21, 2026
Merged

Parameterize target_soc in charge/discharge services for Huawei#3407
springfall2008 merged 1 commit intomainfrom
springfall2008-patch-1

Conversation

@springfall2008
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 21, 2026 17:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR parameterizes the target_soc field in Huawei Solar charge and discharge service calls, replacing hardcoded values with dynamic templates that use Predbat's calculated optimal battery state of charge targets.

Changes:

  • Replaces hardcoded target_soc: 100 with target_soc: "{target_soc}" in charge_start_service
  • Replaces hardcoded target_soc: 10 with target_soc: "{target_soc}" in discharge_start_service

@springfall2008 springfall2008 merged commit 5ced320 into main Feb 21, 2026
5 checks 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.

1 participant