From 3f747f1a8cb11348241b28043d2c453559e92eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Sat, 17 Nov 2018 18:39:38 +0100 Subject: [PATCH] Mill lib (#18529) * Mill attr and update the lib * lib * heater_generation --- homeassistant/components/climate/mill.py | 3 ++- requirements_all.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/climate/mill.py b/homeassistant/components/climate/mill.py index bfeaba001b8..3b26b456067 100644 --- a/homeassistant/components/climate/mill.py +++ b/homeassistant/components/climate/mill.py @@ -19,7 +19,7 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['millheater==0.2.4'] +REQUIREMENTS = ['millheater==0.2.7'] _LOGGER = logging.getLogger(__name__) @@ -117,6 +117,7 @@ class MillHeater(ClimateDevice): "open_window": self._heater.open_window, "heating": self._heater.is_heating, "controlled_by_tibber": self._heater.tibber_control, + "heater_generation": 1 if self._heater.is_gen1 else 2, } if self._heater.room: res['room'] = self._heater.room.name diff --git a/requirements_all.txt b/requirements_all.txt index ea1573d65be..097b2c03a10 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -631,7 +631,7 @@ mficlient==0.3.0 miflora==0.4.0 # homeassistant.components.climate.mill -millheater==0.2.4 +millheater==0.2.7 # homeassistant.components.sensor.mitemp_bt mitemp_bt==0.0.1