Skip to content

Commit f8e7442

Browse files
authored
Merge pull request #267 from plugwise/fix-#340
Fix issue #340
2 parents a26976d + 3b95334 commit f8e7442

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

3-
# v0.27.4: Fix for HA Core Issue https://github.com/home-assistant/core/issues/85910
3+
# v0.27.5: Bugfix for https://github.com/plugwise/plugwise-beta/issues/340
4+
5+
# v0.27.4: Bugfix for HA Core Issue https://github.com/home-assistant/core/issues/85910
46

57
(# v0.27.3, v0.27.2: not released)
68

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
10591059
data.pop("cooling_ena_switch")
10601060
else:
10611061
# Loria/Thermastage: cooling-related is based on cooling_state and modulation_level
1062-
if "cooling_state" in data:
1062+
if self._cooling_present and "cooling_state" in data:
10631063
self._cooling_enabled = data["cooling_state"]
10641064
self._cooling_active = data["modulation_level"] == 100
10651065

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "0.27.4"
7+
version = "0.27.5"
88
license = {file = "LICENSE"}
99
description = "Plugwise Smile (Adam/Anna/P1), Stretch and USB (Stick) module for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)