Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 19 forks source link

Add compatibility feature #171

Open gerw opened 5 months ago

gerw commented 5 months ago

This adds the suggestion of #168.

The test cases detect if

For obsoleted names, an error is thrown. I am not sure about the test case which checks for the error, because this means that the ID of the obsolete item has to be added to compatibilities.py and to the test suite.

github-actions[bot] commented 5 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py18113128%39–51, 73–77, 80, 84–89, 93–97, 108–111, 119–121, 128–130, 137–139, 146–148, 157, 165–167, 170–173, 176–179, 182–198, 201–215, 218–234, 237–251, 255–257, 261–262, 266–267, 278–280, 283, 286, 289, 292, 295–298, 301–304
   __main__.py21210%3–49
   datatypes.py275199%82
   discover.py403415%21–69
luxtronik/scripts
   dump_changes.py44440%5–85
   dump_luxtronik.py27270%5–52
TOTAL68425862% 

Tests Skipped Failures Errors Time
123 0 :zzz: 0 :x: 0 :fire: 0.986s :stopwatch: