Skip to content

Commit a98dc4e

Browse files
committed
Debug
1 parent c7ce659 commit a98dc4e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,7 @@ def _control_state(self, data: GwEntityData, loc_id: str) -> str:
933933

934934
# Older Adam firmware does not have the control_state key
935935
# Work around this by comparing the reported temperature and setpoint for a location
936+
LOGGER.debug("HOI data: %s", data)
936937
setpoint = data["setpoint"]
937938
temperature = data["temperature"]
938939
# No cooling available in older firmware

scripts/tests_and_coverage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ set +u
3131

3232
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "test_and_coverage" ] ; then
3333
# Python tests (rerun with debug if failures)
34-
PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing || PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
34+
#PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing ||
35+
PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
3536
fi
3637

3738
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "linting" ] ; then

0 commit comments

Comments
 (0)