Skip to content

Make the data type conversions more robust by adding some additional type checks#257

Merged
kbabioch merged 1 commit intoBouni:mainfrom
Guzz-T:try/data-type-none
Mar 11, 2026
Merged

Make the data type conversions more robust by adding some additional type checks#257
kbabioch merged 1 commit intoBouni:mainfrom
Guzz-T:try/data-type-none

Conversation

@Guzz-T
Copy link
Copy Markdown
Contributor

@Guzz-T Guzz-T commented Mar 10, 2026

The type for from_heatpump can only be an integer, a list of integers or None. The type for to_heatpump depends on the specific implementation.

…type checks

The type for `from_heatpump` can only be an integer, a list of integers or None.
The type for `to_heatpump` depends on the specific implementation.
@github-actions
Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __main__.py25250%3–66
   datatypes.py450199%147
   discover.py58198%63
luxtronik/cfi
   interface.py171398%166–167, 252
luxtronik/scripts
   __init__.py35586%7–16, 51
   discover_shi.py60600%8–98
   dump_cfi.py14657%18–25, 29
   dump_shi.py15660%21–28, 32
   performance_shi.py63630%7–89
   update_screen.py1058222%6, 20–41, 46–48, 51–61, 64, 70–75, 78, 81–85, 88–92, 95–97, 100–103, 106–111, 115–116, 119–126, 129–136
   watch_cfi.py321650%36–47, 50–56, 60
   watch_shi.py331652%38–49, 52–58, 62
luxtronik/shi
   interface.py320199%438
TOTAL240128588% 

Tests Skipped Failures Errors Time
378 0 💤 0 ❌ 0 🔥 18.198s ⏱️

@kbabioch kbabioch merged commit db38809 into Bouni:main Mar 11, 2026
4 checks passed
@Guzz-T Guzz-T deleted the try/data-type-none branch March 11, 2026 17:53
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.

2 participants