-
-
Notifications
You must be signed in to change notification settings - Fork 902
Indicate protocol for devices #15293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
premultiply
wants to merge
30
commits into
master
Choose a base branch
from
device/ocpp-new-templates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
cab9aee
wip
premultiply 1d9e1ac
wip
premultiply 821de35
wip
premultiply e926708
wip
premultiply 1c88a13
wip
premultiply d63b9a3
wip
premultiply 846779c
wip
premultiply 1d15033
wip
premultiply 5b31b21
wip
premultiply 98c8a62
add protocol field to template; add requirements (sponsor, descriptio…
naltatis 23f6cfd
Merge branch 'master' into device/ocpp-new-templates
naltatis e6f14e3
Merge branch 'master' into device/ocpp-new-templates
premultiply bada07e
remove dup
premultiply 1cd31eb
covers wattpilot
premultiply 0c899c3
add chargers
premultiply 3aa20ce
wip
premultiply 39e568c
wip
premultiply c2e07ba
Merge branch 'master' into device/ocpp-new-templates
premultiply 58030dd
Merge branch 'master' of https://github.com/evcc-io/evcc into device/…
premultiply ee34ef0
wip
premultiply 7bd6921
Merge branch 'master' into device/ocpp-new-templates
premultiply 754904d
Merge branch 'master' into device/ocpp-new-templates
premultiply 4b8f40a
wip
premultiply 05552f4
Merge branch 'master' into device/ocpp-new-templates
naltatis 0039315
template consistancy; add protocol to name if needed
naltatis e634c8b
Merge branch 'master' into device/ocpp-new-templates
premultiply eea0147
Merge branch 'master' into device/ocpp-new-templates
premultiply 63a6b77
Merge branch 'master' into device/ocpp-new-templates
premultiply 59bf40a
wip
premultiply 08db3b7
wip
premultiply File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: abb | ||
protocol: modbus | ||
products: | ||
- brand: ABB | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: abl-em4 | ||
protocol: modbus | ||
products: | ||
- brand: ABL | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: alfen | ||
protocol: modbus | ||
products: | ||
- brand: Alfen | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: daheimladen-mb | ||
protocol: modbus | ||
products: | ||
- brand: DaheimLaden | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: fronius-wattpilot | ||
protocol: localapi | ||
deprecated: true | ||
products: | ||
- brand: Fronius | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: go-e-v3 | ||
protocol: localapi | ||
covers: ["go-e-gemini"] | ||
products: | ||
- brand: go-e | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: go-e | ||
protocol: localapi | ||
products: | ||
- brand: go-e | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: phoenix-ev-ser | ||
protocol: modbus | ||
products: | ||
- brand: Phoenix Contact | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
template: tessie | ||
group: generic | ||
protocol: cloudapi | ||
products: | ||
- description: | ||
generic: Tessie | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
template: zaptec | ||
protocol: localapi | ||
products: | ||
- brand: Zaptec | ||
description: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (complexity): Consider refactoring the inline preset merging logic into smaller helper functions to improve readability and reduce nesting.
The inline preset merging logic now handles several responsibilities at once. Consider breaking out the logic into small helper functions to reduce nesting and increase clarity. For example:
Then update your loop in
ResolvePresets()
to simply call:This refactor reduces inline complexity while keeping functionality intact.