From 855e0fc2eb34633903e784e6f98dec8c95b65367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hjelseth=20H=C3=B8yer?= Date: Sat, 30 Oct 2021 15:43:05 +0200 Subject: [PATCH] Update Mill library, add support for generation 3 heaters. #58536 (#58738) --- homeassistant/components/mill/climate.py | 2 +- homeassistant/components/mill/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index 3cc8d58abda..ad50bf437bb 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -95,7 +95,7 @@ class MillHeater(CoordinatorEntity, ClimateEntity): model=f"generation {1 if heater.is_gen1 else 2}", name=self.name, ) - if heater.is_gen1: + if heater.is_gen1 or heater.is_gen3: self._attr_hvac_modes = [HVAC_MODE_HEAT] else: self._attr_hvac_modes = [HVAC_MODE_HEAT, HVAC_MODE_OFF] diff --git a/homeassistant/components/mill/manifest.json b/homeassistant/components/mill/manifest.json index 342b54d2483..7347cf16daa 100644 --- a/homeassistant/components/mill/manifest.json +++ b/homeassistant/components/mill/manifest.json @@ -2,7 +2,7 @@ "domain": "mill", "name": "Mill", "documentation": "https://www.home-assistant.io/integrations/mill", - "requirements": ["millheater==0.7.3"], + "requirements": ["millheater==0.8.0"], "codeowners": ["@danielhiversen"], "config_flow": true, "iot_class": "cloud_polling" diff --git a/requirements_all.txt b/requirements_all.txt index 628cd65bf34..bfe226744e0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1008,7 +1008,7 @@ micloud==0.4 miflora==0.7.0 # homeassistant.components.mill -millheater==0.7.3 +millheater==0.8.0 # homeassistant.components.minio minio==4.0.9 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 71bb64ce1c4..8741dc8d232 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -603,7 +603,7 @@ mficlient==0.3.0 micloud==0.4 # homeassistant.components.mill -millheater==0.7.3 +millheater==0.8.0 # homeassistant.components.minio minio==4.0.9