Skip to content

Commit

Permalink
Bypass open hours in function get_operating_hours used the wrong entr…
Browse files Browse the repository at this point in the history
…ies from the dataset
  • Loading branch information
Richard Arends committed Mar 30, 2024
1 parent ee94f5b commit c684260
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/whr930.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c684260

Please sign in to comment.