Skip to content
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

Add the ability to get the values safely #5

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update kostalpiko.py
Added option for 2 strings / 3 phases, which is apparently also possible :-) 

Thanks for this great library!
  • Loading branch information
maubreville authored Jul 31, 2022
commit 0ffba46e9a69712a508c61fc0bd6dca9480d5754
2 changes: 2 additions & 0 deletions kostalpiko/kostalpiko.py
Original file line number Diff line number Diff line change
@@ -147,6 +147,8 @@ def __init__(self, raw_data):
self.indices = SINGLE_STRING_INDICES
elif n_values == 12:
self.indices = DOUBLE_STRING_INDICES
elif n_values == 14:
self.indices = DOUBLE_STRING_THREE_PHASES_INDICES
elif n_values == 16:
self.indices = TRIPLE_STRING_INDICES