Update Mill library, add support for generation 3 heaters. #58536 (#58738)

This commit is contained in:
Daniel Hjelseth Høyer 2021-10-30 15:43:05 +02:00 committed by GitHub
parent 65b965e84b
commit 855e0fc2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ class MillHeater(CoordinatorEntity, ClimateEntity):
model=f"generation {1 if heater.is_gen1 else 2}", model=f"generation {1 if heater.is_gen1 else 2}",
name=self.name, name=self.name,
) )
if heater.is_gen1: if heater.is_gen1 or heater.is_gen3:
self._attr_hvac_modes = [HVAC_MODE_HEAT] self._attr_hvac_modes = [HVAC_MODE_HEAT]
else: else:
self._attr_hvac_modes = [HVAC_MODE_HEAT, HVAC_MODE_OFF] self._attr_hvac_modes = [HVAC_MODE_HEAT, HVAC_MODE_OFF]

View File

@ -2,7 +2,7 @@
"domain": "mill", "domain": "mill",
"name": "Mill", "name": "Mill",
"documentation": "https://www.home-assistant.io/integrations/mill", "documentation": "https://www.home-assistant.io/integrations/mill",
"requirements": ["millheater==0.7.3"], "requirements": ["millheater==0.8.0"],
"codeowners": ["@danielhiversen"], "codeowners": ["@danielhiversen"],
"config_flow": true, "config_flow": true,
"iot_class": "cloud_polling" "iot_class": "cloud_polling"

View File

@ -1008,7 +1008,7 @@ micloud==0.4
miflora==0.7.0 miflora==0.7.0
# homeassistant.components.mill # homeassistant.components.mill
millheater==0.7.3 millheater==0.8.0
# homeassistant.components.minio # homeassistant.components.minio
minio==4.0.9 minio==4.0.9

View File

@ -603,7 +603,7 @@ mficlient==0.3.0
micloud==0.4 micloud==0.4
# homeassistant.components.mill # homeassistant.components.mill
millheater==0.7.3 millheater==0.8.0
# homeassistant.components.minio # homeassistant.components.minio
minio==4.0.9 minio==4.0.9