Skip to content

Taking EVSE chargepoints off of Meters category by refactoring getFactoriesByNature to support multiple exclusions#3672

Open
janklostermann wants to merge 1 commit intoOpenEMS:developfrom
janklostermann:fix/proper-category-for-evse
Open

Taking EVSE chargepoints off of Meters category by refactoring getFactoriesByNature to support multiple exclusions#3672
janklostermann wants to merge 1 commit intoOpenEMS:developfrom
janklostermann:fix/proper-category-for-evse

Conversation

@janklostermann
Copy link
Copy Markdown
Contributor

To avoid EVSE chargepoints ending up in the Meters category, this fix allows more then one exclusion per category, now allowing a list. It is used to enhance the CATEGORY.TITLE.METER with not only excluding evcs.api.Evcs, but also evse.api.chargepoint.EvseChargePoint.

…king EVSE of of Meters

To avoid EVSE chargepoints ending up in the Meters category, this fix allows more then one exclusion per category, now allowing a list. It is used to enhance the CATEGORY.TITLE.METER with not only excluding evcs.api.Evcs, but also evse.api.chargepoint.EvseChargePoint.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3672      +/-   ##
=============================================
+ Coverage      60.13%   62.35%   +2.23%     
  Complexity       104      104              
=============================================
  Files           3209     2901     -308     
  Lines         141232   132138    -9094     
  Branches       10402     8868    -1534     
=============================================
- Hits           84910    82382    -2528     
+ Misses         53157    46731    -6426     
+ Partials        3165     3025     -140     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@janklostermann
Copy link
Copy Markdown
Contributor Author

Can someone please help me with this linter issue in the CI?

If I run the sequence locally: "All files pass linting."

Beyond that: It complains that const is not allowed to be used to declare variables. A practice that was used in this function before my additions. I just sticked with how it was done...

Therefore: How can I make this PR acceptable and let it pass the linter?

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