Skip to content

Commit d8c311a

Browse files
authored
Merge pull request #165 from plugwise/release_0_16_9
Update to release v0.16.9
2 parents 155bd3c + 979eb43 commit d8c311a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

CHANGELOG.md

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

3-
# v0.16.9a1 - Smile: bugfix and improve
3+
# v0.16.9 - Smile: bugfix and improve
44
- Fix for https://github.com/plugwise/plugwise-beta/issues/250
5-
- Rename heatpump outdoor_temperature sensor to outdoor_unit_temperature sensor
5+
- Rename heatpump outdoor_temperature sensor to outdoor_air_temperature sensor
66

77
# v0.16.8 - Smile: bugfixes, continued
88
- Fix for https://github.com/home-assistant/core/issues/68003

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Plugwise module."""
22

3-
__version__ = "0.16.9a1"
3+
__version__ = "0.16.9"
44

55
from plugwise.smile import Smile
66
from plugwise.stick import Stick

plugwise/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@
489489
},
490490
# Outdoor temperature from APPLIANCES - present for a heatpump
491491
"outdoor_temperature": {
492-
ATTR_NAME: "outdoor_unit_temperature",
492+
ATTR_NAME: "outdoor_air_temperature",
493493
ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS,
494494
},
495495
}
@@ -577,8 +577,8 @@
577577
"modulation_level",
578578
"net_electricity_cumulative",
579579
"net_electricity_point",
580+
"outdoor_air_temperature",
580581
"outdoor_temperature",
581-
"outdoor_unit_temperature",
582582
"return_temperature",
583583
"setpoint",
584584
"temperature_difference",

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ def _appliance_measurements(
826826
self._cooling_activation_outdoor_temp = data.get(measurement)
827827
if measurement == "cooling_deactivation_threshold":
828828
self._cooling_deactivation_threshold = data.get(measurement)
829-
if measurement == "outdoor_unit_temperature":
829+
if measurement == "outdoor_air_temperature":
830830
self._outdoor_temp = data.get(measurement)
831831

832832
i_locator = f'.//logs/interval_log[type="{measurement}"]/period/measurement'

tests/test_smile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@ async def test_connect_anna_heatpump(self):
22152215
"heating_state": True,
22162216
},
22172217
"sensors": {
2218-
"outdoor_unit_temperature": 3.0,
2218+
"outdoor_air_temperature": 3.0,
22192219
"water_temperature": 29.1,
22202220
"water_pressure": 1.57,
22212221
},
@@ -2274,7 +2274,7 @@ async def test_connect_anna_heatpump_cooling(self):
22742274
"heating_state": False,
22752275
},
22762276
"sensors": {
2277-
"outdoor_unit_temperature": 22.0,
2277+
"outdoor_air_temperature": 22.0,
22782278
"water_temperature": 24.7,
22792279
"water_pressure": 1.61,
22802280
},
@@ -2331,7 +2331,7 @@ async def test_connect_anna_heatpump_cooling_to_off(self):
23312331
"heating_state": False,
23322332
},
23332333
"sensors": {
2334-
"outdoor_unit_temperature": 3.0,
2334+
"outdoor_air_temperature": 3.0,
23352335
"water_temperature": 24.7,
23362336
"water_pressure": 1.61,
23372337
},
@@ -2408,7 +2408,7 @@ async def test_connect_anna_elga_2(self):
24082408
"flame_state": False,
24092409
},
24102410
"sensors": {
2411-
"outdoor_unit_temperature": 14.0,
2411+
"outdoor_air_temperature": 14.0,
24122412
"water_temperature": 22.8,
24132413
"intended_boiler_temperature": 0.0,
24142414
"modulation_level": 0.0,

0 commit comments

Comments
 (0)