diff --git a/CHANGELOG.md b/CHANGELOG.md index 9772777..199e92d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.1] - 2024-03-30 + +### Fixed + +- Bypass open hours in function `get_operating_hours` used the wrong entries from the dataset. + ## [1.1.0] - 2023-08-06 ### Added diff --git a/src/whr930.py b/src/whr930.py index e865b3f..4a35cdf 100755 --- a/src/whr930.py +++ b/src/whr930.py @@ -722,7 +722,7 @@ def get_operating_hours(): Level3Hours = int(data[24], 16) + int(data[25], 16) + int(data[26], 16) FrostProtectionHours = int(data[16], 16) + int(data[17], 16) PreHeatingHours = int(data[18], 16) + int(data[19], 16) - BypassOpenHours = int(data[14], 16) + int(data[15], 16) + BypassOpenHours = int(data[20], 16) + int(data[21], 16) FilterHours = int(data[22], 16) + int(data[23], 16) publish_message(msg=Level0Hours, mqtt_path="house/2/attic/wtw/level0_hours")