Skip to content

Return "Unknown_{value}" for not supported selections#212

Merged
kbabioch merged 1 commit intoBouni:mainfrom
Guzz-T:issue/197/selection
Dec 25, 2025
Merged

Return "Unknown_{value}" for not supported selections#212
kbabioch merged 1 commit intoBouni:mainfrom
Guzz-T:issue/197/selection

Conversation

@Guzz-T
Copy link
Contributor

@Guzz-T Guzz-T commented Dec 23, 2025

In my opinion, there is no reason to return None for unknown values.

Fixes #197

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py1841194%42–43, 46–51, 257–258, 263
   __main__.py21210%3–49
   datatypes.py329199%114
   discover.py58198%62
luxtronik/scripts
   dump_changes.py43430%7–85
   dump_luxtronik.py26260%6–52
TOTAL181510394% 

Tests Skipped Failures Errors Time
299 0 💤 0 ❌ 0 🔥 5.669s ⏱️

@kbabioch kbabioch self-requested a review December 25, 2025 07:35
@kbabioch kbabioch assigned kbabioch and unassigned kbabioch Dec 25, 2025
Copy link
Collaborator

@kbabioch kbabioch left a comment

Choose a reason for hiding this comment

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

The overall approach makes sense to me, changes itself also look fine.

@kbabioch
Copy link
Collaborator

@Bouni Should we proceed with the merge, or do you want to review/proceed here?

@Bouni
Copy link
Owner

Bouni commented Dec 25, 2025

Sure, feel free to go on! No need to ask for my permission, you guys are more involved as I am at the moment and if you agree with changes, go ahead

@kbabioch kbabioch merged commit cc76dfe into Bouni:main Dec 25, 2025
4 checks passed
@Guzz-T Guzz-T deleted the issue/197/selection branch December 25, 2025 21:27
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.

Suggestion: Support unknown codes in SelectionBase

3 participants