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

pull/58746/head
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}",
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]

View File

@ -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"

View File

@ -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

View File

@ -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