Common functions re-factored to a new file, palm_utils.py, to ease future code maintenance
Reduced palm_soc.py to a wrapper for the GivTCP variant of PALM. A switch has been added at the top of the file to enable palm_soc to be tested outside the HA environment
Added CSV-format SoC chart data to palm_soc.py. Currently, this data is sent to the logger where it can be pasted into a spreadsheet and displayed. Subject to host machine resources, this code could be expanded to display the chart locally
palm_settings.py includes a new class definition which is shared across the other palm modules only. It should not be exposed in the HA environment. No higher-level changes should be required for the new palm_settings.py
Several (non-PALM) GivTCP files are also updated to improve code quality in response to linting errors. These changes should be benign.
TEST STATUS:
Linting tests passed on PALM modules
palm_soc.py runs correctly in TEST_MODE outside the HA environment
The new palm_utils.py file has been successfully soak-tested for over a week as part of the standalone version of PALM
TO DO:
Beta test within HA environment before wider release
PALM v1.1.0:
Several (non-PALM) GivTCP files are also updated to improve code quality in response to linting errors. These changes should be benign.
TEST STATUS: Linting tests passed on PALM modules palm_soc.py runs correctly in TEST_MODE outside the HA environment The new palm_utils.py file has been successfully soak-tested for over a week as part of the standalone version of PALM
TO DO: Beta test within HA environment before wider release