From ed31cdc9670a7c980fb6396052faf6d32db20779 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 3 Jul 2024 13:55:25 +0200 Subject: [PATCH] Added experimental temperature range feature for climate entity, if cooling & heating are both active, Added set_time_controlled_cooling_setpoint, set_cooling_for_days, and set_ventilation_boost, Renamed some climate presets to match the names in myVAILLANT --- custom_components/mypyllant/manifest.json | 2 +- dev-requirements.txt | 2 +- tests/test_calendar.py | 2 +- tests/test_sensor.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_components/mypyllant/manifest.json b/custom_components/mypyllant/manifest.json index 7674f14..fc573ec 100644 --- a/custom_components/mypyllant/manifest.json +++ b/custom_components/mypyllant/manifest.json @@ -10,7 +10,7 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/signalkraft/mypyllant-component/issues", "requirements": [ - "myPyllant==0.8.15" + "myPyllant==0.8.17" ], "version": "v0.8.4" } diff --git a/dev-requirements.txt b/dev-requirements.txt index a3db119..00d9856 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -11,7 +11,7 @@ types-PyYAML~=6.0.12.20240311 # Need specific versions pytest-homeassistant-custom-component==0.13.142 -myPyllant==0.8.15 +myPyllant==0.8.17 # Versions handled by pytest-homeassistant-custom-component freezegun diff --git a/tests/test_calendar.py b/tests/test_calendar.py index ff8c552..375fe7f 100644 --- a/tests/test_calendar.py +++ b/tests/test_calendar.py @@ -150,7 +150,7 @@ async def test_dhw_no_circulation_calendar( mocked_api: MyPyllantAPI, system_coordinator_mock, ): - test_data = load_test_data(DATA_DIR / "heatpump_electric_backup") + test_data = load_test_data(DATA_DIR / "heatpump_cooling") with mypyllant_aioresponses(test_data) as _: system_coordinator_mock.data = ( await system_coordinator_mock._async_update_data() diff --git a/tests/test_sensor.py b/tests/test_sensor.py index 21379dd..757b2ba 100644 --- a/tests/test_sensor.py +++ b/tests/test_sensor.py @@ -102,7 +102,7 @@ async def test_zone_sensors( mocked_api: MyPyllantAPI, system_coordinator_mock, ): - test_data = load_test_data(DATA_DIR / "heatpump_electric_backup") + test_data = load_test_data(DATA_DIR / "heatpump_cooling") with mypyllant_aioresponses(test_data) as _: system_coordinator_mock.data = ( await system_coordinator_mock._async_update_data()